Skip to content

Commit ee83c3a

Browse files
committed
Bump MSRV to 1.48
We are upgrading the MSRV across the whole Rust Bitcoin ecosystem. Update the README, clippy config file, and CI to use the new MSRV. Changes to use the new MSRV will be done later. Add mention of MSRV to `secp256k1-sys`, add unreleased section to both changelogs.
1 parent 0e2579f commit ee83c3a

File tree

7 files changed

+14
-8
lines changed

7 files changed

+14
-8
lines changed

.github/workflows/rust.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
runs-on: ubuntu-latest
4141
strategy:
4242
matrix:
43-
rust: [stable, beta, nightly, 1.41.1]
43+
rust: [stable, beta, nightly, 1.48.0]
4444
steps:
4545
- name: Checkout Crate
4646
uses: actions/checkout@v2

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Unreleased
2+
3+
* Bump MSRV to 1.48
4+
15
# 0.27.0 - 2023-03-15
26

37
* [Depend on newly release `bitcoin_hashes` v0.12](https://github.com/rust-bitcoin/rust-secp256k1/pull/588).

README.md

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

2525
### Githooks
2626

clippy.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
msrv = "1.41.1"
1+
msrv = "1.48.0"

contrib/test.sh

-5
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,6 @@ if cargo --version | grep nightly; then
1313
NIGHTLY=true
1414
fi
1515

16-
if cargo --version | grep "1\.41"; then
17-
# 1.8.x uses constfns which aren't supported in 1.41
18-
cargo update -p half --precise 1.7.0
19-
fi
20-
2116
# Test if panic in C code aborts the process (either with a real panic or with SIGILL)
2217
cargo test -- --ignored --exact 'tests::test_panic_raw_ctx_should_terminate_abnormally' 2>&1 | tee /dev/stderr | grep "SIGILL\\|panicked at '\[libsecp256k1\]"
2318

secp256k1-sys/CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Unreleased
2+
3+
* Bump MSRV to 1.48
4+
15
# 0.8.1 - 2023-03-16
26

37
* [Implement `insecure-erase`](https://github.com/rust-bitcoin/rust-secp256k1/pull/582).

secp256k1-sys/README.md

+3
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,6 @@ If you want to compile this library without using the bundled symbols (which may
3333
be required for integration into other build systems), you can do so by adding
3434
`--cfg=rust_secp_no_symbol_renaming'` to your `RUSTFLAGS` variable.
3535

36+
## Minimum Supported Rust Version
37+
38+
This library should always compile with any combination of features on **Rust 1.48.0**.

0 commit comments

Comments
 (0)