From f3ee37936bacea21abaf96fcf8f899fbfebb239a Mon Sep 17 00:00:00 2001 From: Weiliang Li Date: Mon, 10 Jul 2023 01:14:14 +0900 Subject: [PATCH] Bump dependencies (#101) --- .github/workflows/cd.yml | 2 +- .github/workflows/ci.yml | 2 +- Cargo.toml | 18 +++++++++--------- README.md | 2 +- src/lib.rs | 2 +- 5 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 4c1b58c..41f8544 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -14,7 +14,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: 18 + node-version: 20 - uses: actions-rs/toolchain@v1 with: toolchain: stable diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8624acb..3ce4e04 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,7 +21,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: 18 + node-version: 20 - uses: actions-rs/toolchain@v1 with: toolchain: ${{ matrix.toolchain }} diff --git a/Cargo.toml b/Cargo.toml index 00873d4..41fac5b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -22,17 +22,17 @@ repository = "https://github.com/ecies/rs" [dependencies] hkdf = "0.12.3" libsecp256k1 = "0.7.1" -sha2 = "0.10.6" +sha2 = "0.10.7" # openssl aes -openssl = {version = "0.10.42", optional = true} +openssl = {version = "0.10.55", optional = true} # pure rust aes -aes-gcm = {version = "0.10.1", optional = true} -typenum = {version = "1.15.0", optional = true} +aes-gcm = {version = "0.10.2", optional = true} +typenum = {version = "1.16.0", optional = true} [target.'cfg(target_arch = "wasm32")'.dependencies] -getrandom = {version = "0.2.8", features = ["js"]} +getrandom = {version = "0.2.10", features = ["js"]} rand = {version = "0.8.5", features = ["getrandom"]} [target.'cfg(not(target_arch = "wasm32"))'.dependencies] @@ -47,12 +47,12 @@ criterion = {version = "0.5.1", default-features = false} hex = "0.4.3" [target.'cfg(target_arch = "wasm32")'.dev-dependencies] -wasm-bindgen-test = "0.3.33" +wasm-bindgen-test = "0.3.37" [target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies] -futures-util = "0.3.25" -reqwest = "0.11.12" -tokio = {version = "1.21.2", features = ["rt-multi-thread"]} +futures-util = "0.3.28" +reqwest = "0.11.18" +tokio = {version = "1.29.1", features = ["rt-multi-thread"]} [[bench]] harness = false diff --git a/README.md b/README.md index 7e9b839..858554b 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ [![Codacy Badge](https://api.codacy.com/project/badge/Grade/1c6d6ed949dd4836ab97421039e8be75)](https://app.codacy.com/gh/ecies/rs/dashboard) [![License](https://img.shields.io/github/license/ecies/rs.svg)](https://github.com/ecies/rs) -[![CI](https://img.shields.io/github/workflow/status/ecies/rs/Build)](https://github.com/ecies/rs/actions) +[![CI](https://img.shields.io/github/actions/workflow/status/ecies/rs/ci.yml)](https://github.com/ecies/rs/actions) [![Crates](https://img.shields.io/crates/v/ecies)](https://crates.io/crates/ecies) [![Doc](https://docs.rs/ecies/badge.svg)](https://docs.rs/ecies/latest/ecies/) diff --git a/src/lib.rs b/src/lib.rs index 24615f2..811d3f4 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -187,7 +187,7 @@ mod tests { use utils::tests::decode_hex; - const PYTHON_BACKEND: &str = "https://ecies.deta.dev/"; + const PYTHON_BACKEND: &str = "https://eciespydemo-1-d5397785.deta.app/"; let (sk, pk) = generate_keypair();