Skip to content

Commit 4e888de

Browse files
committed
Remove 1.29 restriction from CI and README
The rust-bitcoin stack is moving towards an MSRV of 1.41.1 In preparation for updating our MSRV from 1.29 to 1.41.1 update the README, test script, and CI pipeline to reflect the change.
1 parent b898243 commit 4e888de

File tree

3 files changed

+3
-29
lines changed

3 files changed

+3
-29
lines changed

.github/workflows/rust.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ jobs:
1515
- rust: nightly
1616
env:
1717
RUSTFMTCHK: false
18-
- rust: 1.29.0
18+
- rust: 1.41.1
1919
env:
20-
PIN_VERSIONS: true
20+
RUSTFMTCHK: false
2121
steps:
2222
- name: Checkout Crate
2323
uses: actions/checkout@v2

README.md

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -47,16 +47,4 @@ The following versions are officially supported and automatically tested:
4747
* 0.21.0
4848

4949
# Minimum Supported Rust Version (MSRV)
50-
This library should always compile with any combination of features on **Rust 1.29**.
51-
52-
Because some dependencies have broken the build in minor/patch releases, to
53-
compile with 1.29.0 you will need to run the following version-pinning command:
54-
```
55-
cargo update --package "cc" --precise "1.0.41"
56-
cargo update --package "log:0.4.x" --precise "0.4.13" # x being the highest patch version, currently 14
57-
cargo update --package "cfg-if" --precise "0.1.9"
58-
cargo update --package "serde_json" --precise "1.0.39"
59-
cargo update --package "serde" --precise "1.0.98"
60-
cargo update --package "serde_derive" --precise "1.0.98"
61-
cargo update --package "byteorder" --precise "1.3.4"
62-
```
50+
This library should always compile with any combination of features on **Rust 1.41.1**.

contrib/test.sh

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,6 @@ echo "RUSTFMTCHECK: \"$RUSTFMTCHECK\""
66
echo "BITCOINVERSION: \"$BITCOINVERSION\""
77
echo "PATH: \"$PATH\""
88

9-
10-
# Pin dependencies for Rust v1.29
11-
if [ -n $"$PIN_VERSIONS" ]; then
12-
cargo generate-lockfile --verbose
13-
14-
cargo update --verbose --package "log" --precise "0.4.13"
15-
cargo update --verbose --package "cc" --precise "1.0.41"
16-
cargo update --verbose --package "cfg-if" --precise "0.1.9"
17-
cargo update --verbose --package "serde_json" --precise "1.0.39"
18-
cargo update --verbose --package "serde" --precise "1.0.98"
19-
cargo update --verbose --package "serde_derive" --precise "1.0.98"
20-
cargo update --verbose --package "byteorder" --precise "1.3.4"
21-
fi
22-
239
if [ -n "$RUSTFMTCHECK" ]; then
2410
rustup component add rustfmt
2511
cargo fmt --all -- --check

0 commit comments

Comments
 (0)