diff --git a/rust/Cargo.toml b/rust/Cargo.toml index a870cd09..2997bc7a 100644 --- a/rust/Cargo.toml +++ b/rust/Cargo.toml @@ -22,7 +22,7 @@ ripemd = {version = "0.1.1", optional = true, default-features = false} sha2 = {version = "0.10.2", optional = true, default-features = false} sha3 = {version = "0.10.2", optional = true, default-features = false} serde = {version = "1.0", optional = true, default-features = false} -informalsystems-pbjson = { git = "https://github.com/informalsystems/pbjson", rev = "e54f504", default-features = false, optional = true } +informalsystems-pbjson = { git = "https://github.com/informalsystems/pbjson", rev = "e54f504", optional = true, default-features = false } [dev-dependencies] ripemd = {version = "0.1.1"} @@ -32,10 +32,10 @@ sha2 = {version = "0.10.2"} sha3 = {version = "0.10.2"} [features] -default = ["std", "host-functions", "serde"] +default = ["std", "host-functions"] -std = ["prost/std", "bytes/std", "hex/std", "anyhow/std"] +std = ["prost/std", "bytes/std", "hex/std", "anyhow/std", "informalsystems-pbjson/std", "serde/std"] host-functions = ["sha2", "sha3", "ripemd"] -serde = ["serde/std", "informalsystems-pbjson/std"] +serde = ["dep:serde", "informalsystems-pbjson"]