Update MSRV in CI and Readme from 1.29 to 1.41
This commit is contained in:
parent
a0064c268b
commit
67c0922a46
|
@ -36,7 +36,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
rust: [stable, beta, nightly, 1.29.0]
|
rust: [stable, beta, nightly, 1.41.1]
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Crate
|
- name: Checkout Crate
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
@ -46,9 +46,6 @@ jobs:
|
||||||
profile: minimal
|
profile: minimal
|
||||||
toolchain: ${{ matrix.rust }}
|
toolchain: ${{ matrix.rust }}
|
||||||
override: true
|
override: true
|
||||||
- name: Pin cc if rust 1.29
|
|
||||||
if: matrix.rust == '1.29.0'
|
|
||||||
run: cargo generate-lockfile --verbose && cargo update -p cc --precise "1.0.41" --verbose
|
|
||||||
- name: Running cargo
|
- name: Running cargo
|
||||||
env:
|
env:
|
||||||
DO_FEATURE_MATRIX: true
|
DO_FEATURE_MATRIX: true
|
||||||
|
@ -59,7 +56,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
rust: [stable, beta, nightly] # No 1.29 because WASM requires Rust 1.30
|
rust: [stable, beta, nightly] # wasm-pack doesn't support rust 1.41.1
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Crate
|
- name: Checkout Crate
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
16
README.md
16
README.md
|
@ -20,21 +20,7 @@ Contributions to this library are welcome. A few guidelines:
|
||||||
* Any breaking changes must have an accompanied entry in CHANGELOG.md
|
* Any breaking changes must have an accompanied entry in CHANGELOG.md
|
||||||
* No new dependencies, please.
|
* 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.
|
* 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.29**.
|
* This library should always compile with any combination of features on **Rust 1.41.1**.
|
||||||
|
|
||||||
## A note on Rust 1.29 support
|
|
||||||
|
|
||||||
The build dependency `cc` might require a more recent version of the Rust compiler.
|
|
||||||
To ensure compilation with Rust 1.29.0, pin its version in your `Cargo.lock`
|
|
||||||
with `cargo update -p cc --precise 1.0.41`. If you're using `secp256k1` in a library,
|
|
||||||
to make sure it compiles in CI, you'll need to generate a lockfile first.
|
|
||||||
Example for Travis CI:
|
|
||||||
```yml
|
|
||||||
before_script:
|
|
||||||
- if [ "$TRAVIS_RUST_VERSION" == "1.29.0" ]; then
|
|
||||||
cargo generate-lockfile --verbose && cargo update -p cc --precise "1.0.41" --verbose;
|
|
||||||
fi
|
|
||||||
```
|
|
||||||
|
|
||||||
## Fuzzing
|
## Fuzzing
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue