Skip to content

Commit

Permalink
Enable flex-error/eyre_tracer feature by default
Browse files Browse the repository at this point in the history
  • Loading branch information
soareschen committed Jul 26, 2021
1 parent bb30f30 commit 90a0df2
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 7 deletions.
4 changes: 2 additions & 2 deletions abci/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ path = "src/application/kvstore/main.rs"
required-features = [ "binary", "kvstore-app" ]

[features]
default = ["std"]
default = ["std", "eyre_tracer"]
eyre_tracer = ["flex-error/eyre_tracer"]
client = []
echo-app = []
kvstore-app = []
Expand All @@ -32,7 +33,6 @@ std = [

[dependencies]
bytes = "1.0"
eyre = "0.6"
prost = "0.7"
tendermint-proto = { version = "0.21.0", path = "../proto" }
tracing = "0.1"
Expand Down
3 changes: 2 additions & 1 deletion light-client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ all-features = true
rustdoc-args = ["--cfg", "docsrs"]

[features]
default = ["std", "rpc-client", "lightstore-sled"]
default = ["std", "eyre_tracer", "rpc-client", "lightstore-sled"]
eyre_tracer = ["flex-error/eyre_tracer"]
rpc-client = ["tokio", "tendermint-rpc/http-client"]
secp256k1 = ["tendermint/secp256k1", "tendermint-rpc/secp256k1"]
lightstore-sled = ["sled"]
Expand Down
3 changes: 2 additions & 1 deletion p2p/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ description = """
test = false

[features]
default = ["std"]
default = ["std", "eyre_tracer"]
eyre_tracer = ["flex-error/eyre_tracer"]
amino = ["prost-amino", "prost-amino-derive"]
std = [
"flex-error/std"
Expand Down
3 changes: 2 additions & 1 deletion proto/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ flex-error = { version = "0.4.1", default-features = false }
serde_json = "1.0"

[features]
default = ["std"]
default = ["std", "eyre_tracer"]
eyre_tracer = ["flex-error/eyre_tracer"]
std = [
"flex-error/std"
]
3 changes: 2 additions & 1 deletion rpc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ path = "src/client/bin/main.rs"
required-features = [ "cli" ]

[features]
default = ["std"]
default = ["std", "eyre_tracer"]
eyre_tracer = ["flex-error/eyre_tracer"]
cli = [
"http-client",
"structopt",
Expand Down
3 changes: 2 additions & 1 deletion tendermint/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ k256 = { version = "0.9", optional = true, features = ["ecdsa"] }
ripemd160 = { version = "0.9", optional = true }

[features]
default = ["std"]
default = ["std", "eyre_tracer"]
eyre_tracer = ["flex-error/eyre_tracer"]
secp256k1 = ["k256", "ripemd160"]
std = [
"flex-error/std"
Expand Down

0 comments on commit 90a0df2

Please sign in to comment.