Skip to content

Commit 58453ef

Browse files
committed
Bump MSRV to 1.56.1
As we have done in other parts of the ecosystem bump the MSRV to Rust `v1.56.1`. Done for `secp256k1` and `secp256k1-sys`.
1 parent 5fa3623 commit 58453ef

File tree

5 files changed

+8
-6
lines changed

5 files changed

+8
-6
lines changed

.github/workflows/rust.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -55,15 +55,15 @@ jobs:
5555
run: ./contrib/test.sh
5656

5757
MSRV:
58-
name: Test - 1.48.0 toolchain
58+
name: Test - 1.56.1 toolchain
5959
runs-on: ubuntu-latest
6060
strategy:
6161
fail-fast: false
6262
steps:
6363
- name: Checkout Crate
6464
uses: actions/checkout@v3
6565
- name: Checkout Toolchain
66-
uses: dtolnay/rust-toolchain@1.48.0
66+
uses: dtolnay/rust-toolchain@1.56.1
6767
- name: Running test script
6868
env:
6969
DO_FEATURE_MATRIX: true

Cargo.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ documentation = "https://docs.rs/secp256k1/"
1010
description = "Rust wrapper library for Pieter Wuille's `libsecp256k1`. Implements ECDSA and BIP 340 signatures for the SECG elliptic curve group secp256k1 and related utilities."
1111
keywords = [ "crypto", "ECDSA", "secp256k1", "libsecp256k1", "bitcoin" ]
1212
readme = "README.md"
13-
edition = "2018"
13+
edition = "2021"
14+
rust-version = "1.56.1"
1415

1516
[package.metadata.docs.rs]
1617
all-features = true

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Contributions to this library are welcome. A few guidelines:
2929
* Any breaking changes must have an accompanied entry in CHANGELOG.md
3030
* No new dependencies, please.
3131
* No crypto should be implemented in Rust, with the possible exception of hash functions. Cryptographic contributions should be directed upstream to libsecp256k1.
32-
* This library should always compile with any combination of features on **Rust 1.48.0**.
32+
* This library should always compile with any combination of features on **Rust 1.56.1**.
3333

3434
### Githooks
3535

secp256k1-sys/Cargo.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ keywords = [ "secp256k1", "libsecp256k1", "ffi" ]
1313
readme = "README.md"
1414
build = "build.rs"
1515
links = "rustsecp256k1_v0_9_2"
16-
edition = "2018"
16+
edition = "2021"
17+
rust-version = "1.56.1"
1718

1819
[package.metadata.docs.rs]
1920
all-features = true

secp256k1-sys/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,4 +49,4 @@ to your `RUSTFLAGS` variable.
4949

5050
## Minimum Supported Rust Version
5151

52-
This library should always compile with any combination of features on **Rust 1.48.0**.
52+
This library should always compile with any combination of features on **Rust 1.56.1**.

0 commit comments

Comments
 (0)