bump version to 0.25, MSRV to 1.29

This commit is contained in:
Andrew Poelstra 2020-09-10 20:06:10 +00:00
parent bcf2c5981d
commit 6138084c5b
5 changed files with 12 additions and 8 deletions

View File

@ -23,7 +23,7 @@ matrix:
env: AS_DEPENDENCY=true env: AS_DEPENDENCY=true
- rust: nightly - rust: nightly
env: DO_BENCH=true AS_DEPENDENCY=true env: DO_BENCH=true AS_DEPENDENCY=true
- rust: 1.22.0 - rust: 1.29.0
env: AS_DEPENDENCY=true env: AS_DEPENDENCY=true
script: script:

View File

@ -1,4 +1,8 @@
# 0.25.0 - 2020-09-10
- **Bump MSRV to 1.29.0**
# 0.24.0 - 2020-09-10 # 0.24.0 - 2020-09-10
- [Remove](https://github.com/rust-bitcoin/rust-bitcoin/pull/385) the `BitcoinHash` trait - [Remove](https://github.com/rust-bitcoin/rust-bitcoin/pull/385) the `BitcoinHash` trait

View File

@ -1,6 +1,6 @@
[package] [package]
name = "bitcoin" name = "bitcoin"
version = "0.24.0" version = "0.25.0"
authors = ["Andrew Poelstra <apoelstra@wpsoftware.net>"] authors = ["Andrew Poelstra <apoelstra@wpsoftware.net>"]
license = "CC0-1.0" license = "CC0-1.0"
homepage = "https://github.com/rust-bitcoin/rust-bitcoin/" homepage = "https://github.com/rust-bitcoin/rust-bitcoin/"
@ -22,8 +22,8 @@ use-serde = ["serde", "bitcoin_hashes/serde", "secp256k1/serde"]
[dependencies] [dependencies]
bech32 = "0.7.2" bech32 = "0.7.2"
bitcoin_hashes = "0.8.0" bitcoin_hashes = "0.9.0"
secp256k1 = "0.18.0" secp256k1 = "0.19.0"
bitcoinconsensus = { version = "0.19.0-1", optional = true } bitcoinconsensus = { version = "0.19.0-1", optional = true }
serde = { version = "1", optional = true } serde = { version = "1", optional = true }
@ -33,6 +33,6 @@ hex = "=0.3.2"
serde_derive = "<1.0.99" serde_derive = "<1.0.99"
serde_json = "<1.0.45" serde_json = "<1.0.45"
serde_test = "1" serde_test = "1"
secp256k1 = { version = "0.18.0", features = ["rand-std"] } secp256k1 = { version = "0.19.0", features = ["rand-std"] }
# We need to pin ryu (transitive dep from serde_json) to stay compatible with Rust 1.22.0 # We need to pin ryu (transitive dep from serde_json) to stay compatible with Rust 1.22.0
ryu = "<1.0.5" ryu = "<1.0.5"

View File

@ -51,7 +51,7 @@ please join us in
freenode. freenode.
## Minimum Supported Rust Version (MSRV) ## Minimum Supported Rust Version (MSRV)
This library should always compile with any combination of features on **Rust 1.22**. This library should always compile with any combination of features on **Rust 1.29**.
Because some dependencies have broken the build in minor/patch releases, to Because some dependencies have broken the build in minor/patch releases, to
compile with 1.22.0 you will need to run the following version-pinning command: compile with 1.22.0 you will need to run the following version-pinning command:

View File

@ -46,8 +46,8 @@ then
cd dep_test cd dep_test
echo 'bitcoin = { path = "..", features = ["use-serde"] }' >> Cargo.toml echo 'bitcoin = { path = "..", features = ["use-serde"] }' >> Cargo.toml
# Pin `cc` for Rust 1.22 # Pin `cc` for Rust 1.29
if [ "$TRAVIS_RUST_VERSION" = "1.22.0" ]; then if [ "$TRAVIS_RUST_VERSION" = "1.29.0" ]; then
cargo generate-lockfile --verbose cargo generate-lockfile --verbose
cargo update -p cc --precise "1.0.41" --verbose cargo update -p cc --precise "1.0.41" --verbose
fi fi