Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ When using older version of Rust, you might have to pin the version of the
`bitcoin_hashes` crate used as such:
```
$ cargo update --package "bitcoin_hashes" --precise "0.12.0"
$ cargo update --package "rand" --precise "0.6.5"
```

If you enable the `zeroize` feature the MSRV becomes 1.51.
21 changes: 21 additions & 0 deletions test-msrv.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#!/bin/sh

set -e

MSRV="1.41.1"

CMD="${RUSTUP:-rustup} run ${MSRV}"

rm -f Cargo.lock
$CMD cargo generate-lockfile
$CMD cargo update --package "bitcoin_hashes" --precise "0.12.0"
$CMD cargo update --package "rand" --precise "0.6.5"

$CMD cargo build --no-default-features
$CMD cargo test --no-default-features
$CMD cargo build --no-default-features --features all-languages
$CMD cargo test --no-default-features --features all-languages
$CMD cargo build --features rand_core,all-languages
$CMD cargo test --features rand_core,all-languages
$CMD cargo build --features rand,all-languages
$CMD cargo test --features rand,all-languages
Loading