Skip to content

Commit f6a4db5

Browse files
committed
Merge #76: Release tracking PR: v0.100.0+0.20.2
edf3497 Change the crate version format (Tobin C. Harding) Pull request description: Currently we use a version string of the form `0.20.2-0.6.1` While attempting to release of the `0.6` we found out that cargo pulls down this version if a crate depends transitively on `0.20.2-0.5.0` - this implies that we should not have made breaking changes in the release, which we did. We have since yanked both the `0.6` releases. In order to function correctly with `cargo` change the format to put the crate version first and put the Core version second, note we use `+` (build) instead of `-` (pre-release). This should make `crates.io` display the latest version correctly also. ACKs for top commit: apoelstra: ACK edf3497 Kixunil: ACK edf3497 Tree-SHA512: 7a97fa4c2efaace3763d9b98271861f6c8a8b6f4e4a6ac53dac606a2167d18f9fe9ab795119585540ad54b9aa27e166796cbc0f35e6c9c561d056ab4449d23d3
2 parents 3190aa6 + edf3497 commit f6a4db5

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.100.0+0.20.2
2+
3+
- Change the crate version format [#76](https://github.com/rust-bitcoin/rust-bitcoinconsensus/pull/76)
4+
15
## v0.20.2-0.6.1
26

37
- Add derives on error type [#72](https://github.com/rust-bitcoin/rust-bitcoinconsensus/pull/72)

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "bitcoinconsensus"
3-
# The first part is the Bitcoin Core version, the second part is the version of this lib.
4-
version = "0.20.2-0.6.1"
3+
# The first part is the crate version, the second informational part is the Bitcoin Core version.
4+
version = "0.100.0+0.20.2"
55
authors = ["Tamas Blummer <tamas.blummer@gmail.com>"]
66
license = "Apache-2.0"
77
homepage = "https://github.com/rust-bitcoin/rust-bitcoinconsensus/"

0 commit comments

Comments
 (0)