Skip to content

Commit

Permalink
cosmos-sdk-proto: no_std compatible serde feature (#513)
Browse files Browse the repository at this point in the history
  • Loading branch information
rnbguy authored Nov 8, 2024
1 parent 3f836e6 commit 5f4f3b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cosmos-sdk-proto/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ 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"]
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
Expand Down

0 comments on commit 5f4f3b9

Please sign in to comment.