diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 0aeccae..234f8d3 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -11,11 +11,11 @@ jobs: publish: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - - uses: actions/setup-node@v4 + - uses: actions/setup-node@v6 with: - node-version: 22 + node-version: 24 - uses: dtolnay/rust-toolchain@master with: diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4a97c66..f9b11b3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,11 +18,11 @@ jobs: os: [ubuntu-latest, macos-latest, windows-latest] toolchain: [stable, beta, nightly] steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - - uses: actions/setup-node@v4 + - uses: actions/setup-node@v6 with: - node-version: 22 + node-version: 24 - uses: dtolnay/rust-toolchain@master with: @@ -79,10 +79,10 @@ jobs: matrix: os: [ubuntu-latest, macos-latest, windows-latest] steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - uses: dtolnay/rust-toolchain@master with: - toolchain: 1.65.0 # msrv + toolchain: 1.71.0 # msrv - run: cargo generate-lockfile - uses: Swatinem/rust-cache@v2 diff --git a/CHANGELOG.md b/CHANGELOG.md index c77e204..6c10b24 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 0.2.11 + +- Bump MSRV to 1.71 + ## 0.2.10 - Add homemade rwlock for `no_std` diff --git a/Cargo.toml b/Cargo.toml index 83cf8d3..e53bb81 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,11 +1,11 @@ [package] name = "ecies" -version = "0.2.10" +version = "0.2.11" # docs authors = ["Weiliang Li "] description = "Elliptic Curve Integrated Encryption Scheme for secp256k1" edition = "2021" -rust-version = "1.65" +rust-version = "1.71" keywords = [ # at most five "secp256k1", "x25519", @@ -35,18 +35,18 @@ ed25519-dalek = { version = "~2.1.1", default-features = false, optional = true # symmetric ciphers # aes (openssl) -openssl = { version = "0.10.71", default-features = false, optional = true } +openssl = { version = "0.10.74", default-features = false, optional = true } # aes (pure Rust) aes-gcm = { version = "0.10.3", default-features = false, features = [ "aes", ], optional = true } -typenum = { version = "1.18.0", default-features = false, optional = true } +typenum = { version = "1.19.0", default-features = false, optional = true } # xchacha20 chacha20poly1305 = { version = "0.10.1", default-features = false, optional = true } # hash hkdf = { version = "0.12.4", default-features = false } -sha2 = { version = "0.10.8", default-features = false } +sha2 = { version = "0.10.9", default-features = false } # random number generator getrandom = { version = "0.2.16", default-features = false } @@ -58,14 +58,14 @@ rand_core = { version = "0.6.4", default-features = false, features = [ once_cell = { version = "1.21.3", default-features = false, features = [ "critical-section", ] } -lock_api = "=0.4.13" # msrv 1.64 -parking_lot = { version = "=0.12.4", optional = true } # msrv 1.64 +lock_api = "0.4.14" +parking_lot = { version = "0.12.5", optional = true } [target.'cfg(all(target_arch = "wasm32", target_os="unknown"))'.dependencies] # only for js (browser or node). if it's not js, like substrate, it won't build getrandom = { version = "0.2.16", default-features = false, features = ["js"] } once_cell = { version = "1.21.3", default-features = false, features = ["std"] } -wasm-bindgen = { version = "0.2.104", default-features = false } +wasm-bindgen = { version = "0.2.105", default-features = false } [target.'cfg(all(target_arch = "wasm32", not(target_os="unknown")))'.dependencies] # for wasm32-wasip2 @@ -103,12 +103,12 @@ criterion = { version = "0.7.0", default-features = false } hex = { version = "0.4.3", default-features = false, features = ["alloc"] } [target.'cfg(target_arch = "wasm32")'.dev-dependencies] -wasm-bindgen-test = "0.3.54" +wasm-bindgen-test = "0.3.55" [target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies] futures-util = "0.3.31" -reqwest = "0.12.23" -tokio = { version = "1.47.1", default-features = false, features = [ +reqwest = "0.12.24" +tokio = { version = "1.48.0", default-features = false, features = [ "rt-multi-thread", ] } diff --git a/README.md b/README.md index 4f46195..beb8bde 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ This library can be compiled to the WASM target at your option, see [WASM compat `no_std` is enabled by default. You can enable `std` with `std` feature. ```toml -ecies = {version = "0.2", features = ["std"]} # MSRV is 1.65 +ecies = {version = "0.2", features = ["std"]} # MSRV is 1.71 ``` ```rust