diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index d44c005..459f63c 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -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 diff --git a/CHANGELOG.md b/CHANGELOG.md index 189422b..b9337ba 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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). diff --git a/README.md b/README.md index 6b854bb..a910125 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/clippy.toml b/clippy.toml index 799264e..11d46a7 100644 --- a/clippy.toml +++ b/clippy.toml @@ -1 +1 @@ -msrv = "1.41.1" +msrv = "1.48.0" diff --git a/contrib/test.sh b/contrib/test.sh index 2675a15..bccfd5e 100755 --- a/contrib/test.sh +++ b/contrib/test.sh @@ -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\]" diff --git a/secp256k1-sys/CHANGELOG.md b/secp256k1-sys/CHANGELOG.md index 0899675..c6a1789 100644 --- a/secp256k1-sys/CHANGELOG.md +++ b/secp256k1-sys/CHANGELOG.md @@ -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). diff --git a/secp256k1-sys/README.md b/secp256k1-sys/README.md index 2684d4c..0872ebc 100644 --- a/secp256k1-sys/README.md +++ b/secp256k1-sys/README.md @@ -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**.