From a2b4f0a9419eea4502598b629100ba66d8089885 Mon Sep 17 00:00:00 2001 From: "Tony Arcieri (iqlusion)" Date: Fri, 9 Aug 2024 02:03:16 -0600 Subject: [PATCH] proto: remove `prost-types` dependency (#1457) * proto: remove `prost-types` dependency Now that #1452 has landed `prost-types` isn't used. This removes it as a dependency. * Add changelog entry --------- Co-authored-by: Romain Ruetschi --- .changelog/unreleased/bug-fixes/1457-remove-prost-types-dep.md | 3 +++ proto/Cargo.toml | 3 +-- tendermint/Cargo.toml | 1 - 3 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 .changelog/unreleased/bug-fixes/1457-remove-prost-types-dep.md diff --git a/.changelog/unreleased/bug-fixes/1457-remove-prost-types-dep.md b/.changelog/unreleased/bug-fixes/1457-remove-prost-types-dep.md new file mode 100644 index 000000000..e139bedfa --- /dev/null +++ b/.changelog/unreleased/bug-fixes/1457-remove-prost-types-dep.md @@ -0,0 +1,3 @@ +- Remove dependency on `prost-types` as it is not needed anymore now that + [#1452](https://github.com/informalsystems/tendermint-rs/pull/1452) has landed + ([\#1457](https://github.com/informalsystems/tendermint-rs/pull/1457)) \ No newline at end of file diff --git a/proto/Cargo.toml b/proto/Cargo.toml index 5f6ab1986..e8f197a25 100644 --- a/proto/Cargo.toml +++ b/proto/Cargo.toml @@ -26,8 +26,7 @@ parity-scale-codec = ["dep:parity-scale-codec", "dep:scale-info"] all-features = true [dependencies] -prost = { version = "0.13", default-features = false } -prost-types = { version = "0.13", default-features = false } +prost = { version = "0.13", default-features = false, features = ["derive"] } bytes = { version = "1.0", default-features = false, features = ["serde"]} serde = { version = "1.0", default-features = false, features = ["derive"] } serde_bytes = { version = "0.11", default-features = false, features = ["alloc"] } diff --git a/tendermint/Cargo.toml b/tendermint/Cargo.toml index 21c2ab9ce..8d942d9f9 100644 --- a/tendermint/Cargo.toml +++ b/tendermint/Cargo.toml @@ -36,7 +36,6 @@ futures = { version = "0.3", default-features = false } num-traits = { version = "0.2", default-features = false } once_cell = { version = "1.3", default-features = false } prost = { version = "0.13", default-features = false } -prost-types = { version = "0.13", default-features = false } serde = { version = "1", default-features = false, features = ["derive"] } serde_json = { version = "1", default-features = false, features = ["alloc"] } serde_bytes = { version = "0.11", default-features = false }