From 310638f095a60acc03a921285a4c8fcb9957a1a7 Mon Sep 17 00:00:00 2001 From: Ranadeep Biswas Date: Fri, 8 Nov 2024 14:21:21 +0100 Subject: [PATCH 1/2] rm tendermint-proto/std from serde feature set --- cosmos-sdk-proto/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cosmos-sdk-proto/Cargo.toml b/cosmos-sdk-proto/Cargo.toml index 50674b9e..34ec74d3 100644 --- a/cosmos-sdk-proto/Cargo.toml +++ b/cosmos-sdk-proto/Cargo.toml @@ -30,7 +30,7 @@ std = ["prost/std", "tendermint-proto/std"] grpc = ["std", "tonic"] grpc-transport = ["grpc", "tonic/transport"] cosmwasm = [] -serde = ["dep:serde", "tendermint-proto/std", "pbjson"] +serde = ["dep:serde", "pbjson"] [package.metadata.docs.rs] all-features = true From a532d06f594d45cfd2605268696ccb86cb2142ce Mon Sep 17 00:00:00 2001 From: Ranadeep Biswas Date: Fri, 8 Nov 2024 14:38:05 +0100 Subject: [PATCH 2/2] fix pbjson feature import --- cosmos-sdk-proto/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cosmos-sdk-proto/Cargo.toml b/cosmos-sdk-proto/Cargo.toml index 34ec74d3..b03e9d92 100644 --- a/cosmos-sdk-proto/Cargo.toml +++ b/cosmos-sdk-proto/Cargo.toml @@ -22,7 +22,7 @@ tendermint-proto = { version = "0.40.0" } # Optional dependencies tonic = { version = "0.12", optional = true, default-features = false, features = ["codegen", "prost"] } serde = { version = "1.0.203", optional = true, default-features = false, features = ["alloc"] } -pbjson = { package = "informalsystems-pbjson", optional = true, version = "0.7" } +pbjson = { package = "informalsystems-pbjson", optional = true, default-features = false, version = "0.7" } [features] default = ["grpc-transport"]