diff --git a/.travis.yml b/.travis.yml index 1f19070..dd84e6f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,7 +7,7 @@ rust: - stable - beta - nightly - - 1.22.0 + - 1.29.0 distro: bionic os: - linux @@ -22,11 +22,11 @@ addons: matrix: exclude: - - rust: 1.22.0 + - rust: 1.29.0 os: windows script: - - if [ "$TRAVIS_RUST_VERSION" == "1.22.0" ]; then + - if [ "$TRAVIS_RUST_VERSION" == "1.29.0" ]; then cargo generate-lockfile --verbose && cargo update -p cc --precise "1.0.41" --verbose; fi - cargo build --verbose --no-default-features @@ -43,7 +43,7 @@ script: - cargo test --verbose --features="rand rand-std" - cargo test --verbose --features="rand serde" - cargo test --verbose --features="rand serde recovery endomorphism" - - if [ ${TRAVIS_RUST_VERSION} != "1.22.0" ]; then + - if [ ${TRAVIS_RUST_VERSION} != "1.29.0" ]; then cargo test --verbose --features global-context; fi - cargo build --verbose diff --git a/CHANGELOG.md b/CHANGELOG.md index 2531ec5..d08c8b1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,8 @@ +# 0.19.0 - 2020-08-27 + +* **Update MSRV to 1.29.0** + # 0.18.0 - 2020-08-26 * Add feature-gated `bitcoin_hashes` dependency and [`ThirtyTwoByteHash` trait](https://github.com/rust-bitcoin/rust-secp256k1/pull/206/) diff --git a/Cargo.toml b/Cargo.toml index bc082ab..1e52a41 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "secp256k1" -version = "0.18.0" +version = "0.19.0" authors = [ "Dawid Ciężarkiewicz ", "Andrew Poelstra " ] license = "CC0-1.0" @@ -39,20 +39,20 @@ external-symbols = ["secp256k1-sys/external-symbols"] fuzztarget = ["secp256k1-sys/fuzztarget"] [dependencies] -secp256k1-sys = { version = "0.2.0", default-features = false, path = "./secp256k1-sys" } +secp256k1-sys = { version = "0.3.0", default-features = false, path = "./secp256k1-sys" } [dev-dependencies] rand = "0.6" rand_core = "0.4" serde_test = "1.0" -bitcoin_hashes = "0.7" +bitcoin_hashes = "0.9" [target.wasm32-unknown-unknown.dev-dependencies] wasm-bindgen-test = "0.3" rand = { version = "0.6", features = ["wasm-bindgen"] } [dependencies.bitcoin_hashes] -version = "0.7" +version = "0.9" optional = true [dependencies.rand] diff --git a/README.md b/README.md index 711b762..61ee938 100644 --- a/README.md +++ b/README.md @@ -25,13 +25,13 @@ Contributions to this library are welcome. A few guidelines: ## A note on Rust 1.22 support The build dependency `cc` might require a more recent version of the Rust compiler. -To ensure compilation with Rust 1.22.0, pin its version in your `Cargo.lock` +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.22.0" ]; then + - if [ "$TRAVIS_RUST_VERSION" == "1.29.0" ]; then cargo generate-lockfile --verbose && cargo update -p cc --precise "1.0.41" --verbose; fi ``` diff --git a/secp256k1-sys/CHANGELOG.md b/secp256k1-sys/CHANGELOG.md index 2995336..601ddb4 100644 --- a/secp256k1-sys/CHANGELOG.md +++ b/secp256k1-sys/CHANGELOG.md @@ -1,4 +1,8 @@ +# 0.3.0 - 2020-08-27 + +* **Update MSRV to 1.29.0** + # 0.2.0 - 2020-08-26 * Update upstream to `670cdd3f8be25f81472b2d16dcd228b0d24a5c45` diff --git a/secp256k1-sys/Cargo.toml b/secp256k1-sys/Cargo.toml index 5ecbdfa..5f8d67f 100644 --- a/secp256k1-sys/Cargo.toml +++ b/secp256k1-sys/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "secp256k1-sys" -version = "0.2.0" +version = "0.3.0" authors = [ "Dawid Ciężarkiewicz ", "Andrew Poelstra ", "Steven Roose " ] diff --git a/src/lib.rs b/src/lib.rs index e89a501..4d887a0 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -506,6 +506,7 @@ impl Message { /// `bitcoin_hashes` to be enabled. /// ```rust /// extern crate bitcoin_hashes; + /// # extern crate secp256k1; /// use secp256k1::Message; /// use bitcoin_hashes::sha256; /// use bitcoin_hashes::Hash;