Skip to content

Commit b2e315f

Browse files
authored
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
2 parents ac9295c + 19f5138 commit b2e315f

File tree

7 files changed

+20
-11
lines changed

7 files changed

+20
-11
lines changed

.travis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ rust:
77
- stable
88
- beta
99
- nightly
10-
- 1.22.0
10+
- 1.29.0
1111
distro: bionic
1212
os:
1313
- linux
@@ -22,11 +22,11 @@ addons:
2222

2323
matrix:
2424
exclude:
25-
- rust: 1.22.0
25+
- rust: 1.29.0
2626
os: windows
2727

2828
script:
29-
- if [ "$TRAVIS_RUST_VERSION" == "1.22.0" ]; then
29+
- if [ "$TRAVIS_RUST_VERSION" == "1.29.0" ]; then
3030
cargo generate-lockfile --verbose && cargo update -p cc --precise "1.0.41" --verbose;
3131
fi
3232
- cargo build --verbose --no-default-features
@@ -43,7 +43,7 @@ script:
4343
- cargo test --verbose --features="rand rand-std"
4444
- cargo test --verbose --features="rand serde"
4545
- cargo test --verbose --features="rand serde recovery endomorphism"
46-
- if [ ${TRAVIS_RUST_VERSION} != "1.22.0" ]; then
46+
- if [ ${TRAVIS_RUST_VERSION} != "1.29.0" ]; then
4747
cargo test --verbose --features global-context;
4848
fi
4949
- cargo build --verbose

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11

2+
# 0.19.0 - 2020-08-27
3+
4+
* **Update MSRV to 1.29.0**
5+
26
# 0.18.0 - 2020-08-26
37

48
* Add feature-gated `bitcoin_hashes` dependency and [`ThirtyTwoByteHash` trait](https://github.com/rust-bitcoin/rust-secp256k1/pull/206/)

Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22

33
name = "secp256k1"
4-
version = "0.18.0"
4+
version = "0.19.0"
55
authors = [ "Dawid Ciężarkiewicz <dpc@ucore.info>",
66
"Andrew Poelstra <apoelstra@wpsoftware.net>" ]
77
license = "CC0-1.0"
@@ -39,20 +39,20 @@ external-symbols = ["secp256k1-sys/external-symbols"]
3939
fuzztarget = ["secp256k1-sys/fuzztarget"]
4040

4141
[dependencies]
42-
secp256k1-sys = { version = "0.2.0", default-features = false, path = "./secp256k1-sys" }
42+
secp256k1-sys = { version = "0.3.0", default-features = false, path = "./secp256k1-sys" }
4343

4444
[dev-dependencies]
4545
rand = "0.6"
4646
rand_core = "0.4"
4747
serde_test = "1.0"
48-
bitcoin_hashes = "0.7"
48+
bitcoin_hashes = "0.9"
4949

5050
[target.wasm32-unknown-unknown.dev-dependencies]
5151
wasm-bindgen-test = "0.3"
5252
rand = { version = "0.6", features = ["wasm-bindgen"] }
5353

5454
[dependencies.bitcoin_hashes]
55-
version = "0.7"
55+
version = "0.9"
5656
optional = true
5757

5858
[dependencies.rand]

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@ Contributions to this library are welcome. A few guidelines:
2525
## A note on Rust 1.22 support
2626

2727
The build dependency `cc` might require a more recent version of the Rust compiler.
28-
To ensure compilation with Rust 1.22.0, pin its version in your `Cargo.lock`
28+
To ensure compilation with Rust 1.29.0, pin its version in your `Cargo.lock`
2929
with `cargo update -p cc --precise 1.0.41`. If you're using `secp256k1` in a library,
3030
to make sure it compiles in CI, you'll need to generate a lockfile first.
3131
Example for Travis CI:
3232
```yml
3333
before_script:
34-
- if [ "$TRAVIS_RUST_VERSION" == "1.22.0" ]; then
34+
- if [ "$TRAVIS_RUST_VERSION" == "1.29.0" ]; then
3535
cargo generate-lockfile --verbose && cargo update -p cc --precise "1.0.41" --verbose;
3636
fi
3737
```

secp256k1-sys/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11

2+
# 0.3.0 - 2020-08-27
3+
4+
* **Update MSRV to 1.29.0**
5+
26
# 0.2.0 - 2020-08-26
37

48
* Update upstream to `670cdd3f8be25f81472b2d16dcd228b0d24a5c45`

secp256k1-sys/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "secp256k1-sys"
3-
version = "0.2.0"
3+
version = "0.3.0"
44
authors = [ "Dawid Ciężarkiewicz <dpc@ucore.info>",
55
"Andrew Poelstra <apoelstra@wpsoftware.net>",
66
"Steven Roose <steven@stevenroose.org>" ]

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -506,6 +506,7 @@ impl Message {
506506
/// `bitcoin_hashes` to be enabled.
507507
/// ```rust
508508
/// extern crate bitcoin_hashes;
509+
/// # extern crate secp256k1;
509510
/// use secp256k1::Message;
510511
/// use bitcoin_hashes::sha256;
511512
/// use bitcoin_hashes::Hash;

0 commit comments

Comments
 (0)