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.
This commit is contained in:
Tobin C. Harding 2023-03-31 09:18:02 +11:00
parent 0e2579fb96
commit ee83c3a4f9
No known key found for this signature in database
GPG Key ID: 40BF9E4C269D6607
7 changed files with 14 additions and 8 deletions

View File

@ -40,7 +40,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
rust: [stable, beta, nightly, 1.41.1]
rust: [stable, beta, nightly, 1.48.0]
steps:
- name: Checkout Crate
uses: actions/checkout@v2

View File

@ -1,3 +1,7 @@
# Unreleased
* Bump MSRV to 1.48
# 0.27.0 - 2023-03-15
* [Depend on newly release `bitcoin_hashes` v0.12](https://github.com/rust-bitcoin/rust-secp256k1/pull/588).

View File

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

View File

@ -1 +1 @@
msrv = "1.41.1"
msrv = "1.48.0"

View File

@ -13,11 +13,6 @@ if cargo --version | grep nightly; then
NIGHTLY=true
fi
if cargo --version | grep "1\.41"; then
# 1.8.x uses constfns which aren't supported in 1.41
cargo update -p half --precise 1.7.0
fi
# Test if panic in C code aborts the process (either with a real panic or with SIGILL)
cargo test -- --ignored --exact 'tests::test_panic_raw_ctx_should_terminate_abnormally' 2>&1 | tee /dev/stderr | grep "SIGILL\\|panicked at '\[libsecp256k1\]"

View File

@ -1,3 +1,7 @@
# Unreleased
* Bump MSRV to 1.48
# 0.8.1 - 2023-03-16
* [Implement `insecure-erase`](https://github.com/rust-bitcoin/rust-secp256k1/pull/582).

View File

@ -33,3 +33,6 @@ If you want to compile this library without using the bundled symbols (which may
be required for integration into other build systems), you can do so by adding
`--cfg=rust_secp_no_symbol_renaming'` to your `RUSTFLAGS` variable.
## Minimum Supported Rust Version
This library should always compile with any combination of features on **Rust 1.48.0**.