Skip to content

Commit

Permalink
Update MSRV to 1.29; increase version to 0.19 and -sys version to 0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
apoelstra committed Aug 27, 2020
1 parent ac9295c commit 19f5138
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 11 deletions.
8 changes: 4 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ rust:
- stable
- beta
- nightly
- 1.22.0
- 1.29.0
distro: bionic
os:
- linux
Expand All @@ -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
Expand All @@ -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
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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/)
Expand Down
8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]

name = "secp256k1"
version = "0.18.0"
version = "0.19.0"
authors = [ "Dawid Ciężarkiewicz <dpc@ucore.info>",
"Andrew Poelstra <apoelstra@wpsoftware.net>" ]
license = "CC0-1.0"
Expand Down Expand Up @@ -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]
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
4 changes: 4 additions & 0 deletions secp256k1-sys/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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`
Expand Down
2 changes: 1 addition & 1 deletion secp256k1-sys/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "secp256k1-sys"
version = "0.2.0"
version = "0.3.0"
authors = [ "Dawid Ciężarkiewicz <dpc@ucore.info>",
"Andrew Poelstra <apoelstra@wpsoftware.net>",
"Steven Roose <steven@stevenroose.org>" ]
Expand Down
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 19f5138

Please sign in to comment.