Cargo.toml, Cargo.lock: change dependencies used for logging

- replace log crate with tracing,
- replace simple-log crate with tracing-subscriber and tracing-appender
- add nu-ansi-term crate as a dependency which is itself tracing-subscriber's dependency,
  inorder to write colored outputs to the terminal since we override formatting provided
  by tracing-subscriber
This commit is contained in:
oars
2025-07-09 16:57:16 +03:00
parent 88c159bd06
commit ac0365cc60
24 changed files with 134 additions and 101 deletions

View File

@@ -19,7 +19,8 @@ darkfi-serial = "0.5.0"
easy-parallel = "3.3.1"
signal-hook-async-std = "0.3.0"
signal-hook = "0.3.18"
simplelog = "0.12.2"
tracing-subscriber = { version = "0.3.19", default-features = false, features = ["fmt"] }
tracing-appender = "0.2.3"
smol = "2.0.2"
# arg parsing
@@ -29,7 +30,7 @@ structopt-toml = "0.5.1"
# misc
async-trait = "0.1.88"
log = "0.4.27"
tracing = "0.1.41"
url = "2.5.4"
# ANCHOR_END: dependencies