diff --git a/abci/Cargo.toml b/abci/Cargo.toml index 6fe9805d5..cb6a70b16 100644 --- a/abci/Cargo.toml +++ b/abci/Cargo.toml @@ -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 = [] @@ -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" diff --git a/light-client/Cargo.toml b/light-client/Cargo.toml index 5a3caff44..6c5c6b551 100644 --- a/light-client/Cargo.toml +++ b/light-client/Cargo.toml @@ -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"] diff --git a/p2p/Cargo.toml b/p2p/Cargo.toml index 2cef954e1..09dea5d5d 100644 --- a/p2p/Cargo.toml +++ b/p2p/Cargo.toml @@ -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" diff --git a/proto/Cargo.toml b/proto/Cargo.toml index 1311d94e2..b41f165de 100644 --- a/proto/Cargo.toml +++ b/proto/Cargo.toml @@ -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" ] diff --git a/rpc/Cargo.toml b/rpc/Cargo.toml index a11a21d6a..6fbc00e45 100644 --- a/rpc/Cargo.toml +++ b/rpc/Cargo.toml @@ -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", diff --git a/tendermint/Cargo.toml b/tendermint/Cargo.toml index 3d9f8281b..bbb4b5991 100644 --- a/tendermint/Cargo.toml +++ b/tendermint/Cargo.toml @@ -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"