Merge pull request #231 from rust-bitcoin/2020-08-msrv-1.29
Update MSRV to 1.29; increase version to 0.19 and -sys version to 0.3
This commit is contained in:
commit
b2e315f154
|
@ -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
|
||||
|
|
|
@ -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/)
|
||||
|
|
|
@ -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"
|
||||
|
@ -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]
|
||||
|
|
|
@ -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
|
||||
```
|
||||
|
|
|
@ -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`
|
||||
|
|
|
@ -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>" ]
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue