Add byteorder pinning for 1.29.0 compatibility
They broke their MSRV in a minor release. Co-authored-by: Sebastian Geisler <sebastian@blockstream.io>
This commit is contained in:
parent
4b58a254c5
commit
ef116ffbed
|
@ -66,6 +66,11 @@ cargo update --package "serde" --precise "1.0.98"
|
|||
cargo update --package "serde_derive" --precise "1.0.98"
|
||||
```
|
||||
|
||||
For the feature `base64` to work with 1.29.0 we also need to pin `byteorder`:
|
||||
```
|
||||
cargo update -p byteorder --precise "1.3.4"
|
||||
```
|
||||
|
||||
## Installing Rust
|
||||
Rust can be installed using your package manager of choice or
|
||||
[rustup.rs](https://rustup.rs). The former way is considered more secure since
|
||||
|
|
|
@ -2,12 +2,17 @@
|
|||
|
||||
FEATURES="base64 bitcoinconsensus use-serde rand"
|
||||
|
||||
# Pin `cc` for Rust 1.29
|
||||
if [ -n "$PIN_VERSIONS" ]; then
|
||||
pin_common_verions() {
|
||||
cargo generate-lockfile --verbose
|
||||
cargo update -p cc --precise "1.0.41" --verbose
|
||||
cargo update -p serde --precise "1.0.98" --verbose
|
||||
cargo update -p serde_derive --precise "1.0.98" --verbose
|
||||
}
|
||||
|
||||
# Pin `cc` for Rust 1.29
|
||||
if [ -n "$PIN_VERSIONS" ]; then
|
||||
pin_common_verions
|
||||
cargo update -p byteorder --precise "1.3.4"
|
||||
fi
|
||||
|
||||
if [ "$DO_COV" = true ]
|
||||
|
@ -58,10 +63,7 @@ then
|
|||
|
||||
# Pin `cc` for Rust 1.29
|
||||
if [ -n "$PIN_VERSIONS" ]; then
|
||||
cargo generate-lockfile --verbose
|
||||
cargo update -p cc --precise "1.0.41" --verbose
|
||||
cargo update -p serde --precise "1.0.98" --verbose
|
||||
cargo update -p serde_derive --precise "1.0.98" --verbose
|
||||
pin_common_verions
|
||||
fi
|
||||
|
||||
cargo test --verbose
|
||||
|
|
Loading…
Reference in New Issue