Commit edf3497
committed
Change the crate version format
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 ignores
the stuff after the `-` so the newly released code is treated as a
non-breaking change and pulled immediately by any crate that has
`bitcoinconsensus` in its dependency graph. This broke everyone that
uses it including `rust-bitcoin`.
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.1 parent 3190aa6 commit edf3497
2 files changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
1 | 5 | | |
2 | 6 | | |
3 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
| 3 | + | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
0 commit comments