Skip to content

Commit 5020067

Browse files
tendermint: fix minimal-versions correctness for bytes (informalsystems#1257)
The `tendermint` crate uses features of `bytes` introduced in version 1.2, namely a `From<Vec<u8>>` impl for `Bytes`. See cosmos/cosmos-rust#314 for additional context.
1 parent f776dac commit 5020067

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tendermint/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ all-features = true
3030
rustdoc-args = ["--cfg", "docsrs"]
3131

3232
[dependencies]
33-
bytes = { version = "1.0", default-features = false, features = ["serde"] }
33+
bytes = { version = "1.2", default-features = false, features = ["serde"] }
3434
ed25519 = { version = "1.3", default-features = false }
3535
ed25519-dalek = { version = "1", default-features = false, features = ["u64_backend"] }
3636
futures = { version = "0.3", default-features = false }

0 commit comments

Comments
 (0)