diff --git a/Cargo.toml b/Cargo.toml index a92880998..787323813 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -24,6 +24,10 @@ exclude = [ "tools/no-std-check" ] +[workspace.dependencies] +prost = { version = "0.13.3", default-features = false } +prost-types = { version = "0.13.3", default-features = false } + [profile.release.package.tendermint-light-client-js] # Tell `rustc` to optimize for small code size. opt-level = "s" diff --git a/abci/Cargo.toml b/abci/Cargo.toml index 07e930598..bbafacfc6 100644 --- a/abci/Cargo.toml +++ b/abci/Cargo.toml @@ -34,8 +34,8 @@ binary = [ ] [dependencies] +prost.workspace = true bytes = { version = "1.0", default-features = false } -prost = { version = "0.12", default-features = false } tendermint-proto = { version = "0.32.0", default-features = false, path = "../proto" } tracing = { version = "0.1", default-features = false } flex-error = { version = "0.4.4", default-features = false } diff --git a/p2p/Cargo.toml b/p2p/Cargo.toml index 7911eca59..0cc62d848 100644 --- a/p2p/Cargo.toml +++ b/p2p/Cargo.toml @@ -30,13 +30,13 @@ default = ["flex-error/std", "flex-error/eyre_tracer"] amino = ["prost-derive"] [dependencies] +prost.workspace = true; chacha20poly1305 = { version = "0.8", default-features = false, features = ["reduced-round"] } ed25519-consensus = { version = "2", default-features = false } eyre = { version = "0.6", default-features = false } flume = { version = "0.10.7", default-features = false } hkdf = { version = "0.12.3", default-features = false } merlin = { version = "2", default-features = false } -prost = { version = "0.12", default-features = false } rand_core = { version = "0.5", default-features = false, features = ["std"] } sha2 = { version = "0.10", default-features = false } subtle = { version = "2", default-features = false } diff --git a/proto/Cargo.toml b/proto/Cargo.toml index ff0a2911c..eacef4245 100644 --- a/proto/Cargo.toml +++ b/proto/Cargo.toml @@ -23,8 +23,8 @@ authors = [ all-features = true [dependencies] -prost = { version = "0.12", default-features = false } -prost-types = { version = "0.12", default-features = false } +prost.workspace = true +prost-types.workspace = true 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 8f9d9393e..fddf07b0a 100644 --- a/tendermint/Cargo.toml +++ b/tendermint/Cargo.toml @@ -31,6 +31,8 @@ all-features = true rustdoc-args = ["--cfg", "docsrs"] [dependencies] +prost.workspace = true +prost-types.workspace = true celestia-tendermint-proto = { version = "0.32.2", default-features = false, path = "../proto" } bytes = { version = "1.2", default-features = false, features = ["serde"] } @@ -39,8 +41,6 @@ ed25519 = { version = "2", default-features = false, features = ["alloc"] } 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.12", default-features = false } -prost-types = { version = "0.12", 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 } diff --git a/tools/proto-compiler/Cargo.toml b/tools/proto-compiler/Cargo.toml index f6aa9f8e7..37c3f5ce1 100644 --- a/tools/proto-compiler/Cargo.toml +++ b/tools/proto-compiler/Cargo.toml @@ -6,8 +6,8 @@ edition = "2021" publish = false [dependencies] +prost-build.workspace = true walkdir = { version = "2.3" } -prost-build = { version = "0.12.0" } git2 = { version = "0.16" } tempfile = { version = "3.5.0" } subtle-encoding = { version = "0.5" }