From 5f4f3b9ddf93d66cf89a79d608a07797764f776d Mon Sep 17 00:00:00 2001 From: Rano | Ranadeep Date: Fri, 8 Nov 2024 17:36:13 +0100 Subject: [PATCH] cosmos-sdk-proto: `no_std` compatible `serde` feature (#513) --- cosmos-sdk-proto/Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cosmos-sdk-proto/Cargo.toml b/cosmos-sdk-proto/Cargo.toml index 50674b9e..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"] @@ -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