forked from hyperledger-iroha/iroha
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
40 lines (32 loc) · 1.29 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
[package]
name = "iroha_logger"
edition.workspace = true
version.workspace = true
authors.workspace = true
license.workspace = true
[lints]
workspace = true
[dependencies]
iroha_config = { workspace = true }
iroha_data_model = { workspace = true }
color-eyre = { workspace = true }
serde_json = { workspace = true }
tracing = { workspace = true }
tracing-core = "0.1.32"
tracing-futures = { version = "0.2.5", default-features = false, features = ["std-future", "std"] }
tracing-subscriber = { workspace = true, features = ["fmt", "ansi", "json"] }
tokio = { workspace = true, features = ["sync", "rt", "macros"] }
console-subscriber = { version = "0.2.0", optional = true }
once_cell = { workspace = true }
derive_more = { workspace = true }
tracing-error = "0.2.0"
thiserror = { workspace = true }
[dev-dependencies]
tokio = { workspace = true, features = ["macros", "time", "rt"] }
[features]
# When this feature is enabled, tokio console will be started anyway.
# Configured via ENV:
# https://docs.rs/console-subscriber/0.2.0/console_subscriber/struct.Builder.html#method.with_default_env
tokio-console = ["dep:console-subscriber", "tokio/tracing"]
# Workaround to avoid activating `tokio-console` with `--all-features` flag, because `tokio-console` require `tokio_unstable` rustc flag
no-tokio-console = []