Skip to content

Commit 3b70bda

Browse files
committed
units: Pin RC dependency
So that any subsequent RC releases of `consensus-encoding` don't inadvertently break the build (like rust-bitcoin#5358) pin the `encoding` dependency to an exact version.
1 parent d19605c commit 3b70bda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

units/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ std = ["alloc", "internals/std", "encoding?/std"]
1818
alloc = ["internals/alloc", "serde?/alloc", "encoding?/alloc"]
1919

2020
[dependencies]
21-
encoding = { package = "bitcoin-consensus-encoding", path = "../consensus_encoding", version = "1.0.0-rc.2", default-features = false, optional = true }
21+
encoding = { package = "bitcoin-consensus-encoding", path = "../consensus_encoding", version = "=1.0.0-rc.2", default-features = false, optional = true }
2222
internals = { package = "bitcoin-internals", path = "../internals", version = "0.4.1" }
2323

2424
serde = { version = "1.0.195", default-features = false, features = ["derive"], optional = true }

0 commit comments

Comments
 (0)