mirror of
https://github.com/tokio-rs/tracing.git
synced 2026-03-21 15:14:04 +00:00
## Motivation `tracing` currently consists of a large number of crates. The number of crates has the potential to be quite intimidating to users. ## Solution This branch makes the following changes: - Delete `tracing-fmt`. This crate's functionality has already been moved into `tracing-subscriber`, and a final version has been published to deprecate the crate & link to the code's new home. - Delete `tracing-tower-http`, as this functionality is now subsumed by `tracing-tower`. Since the crate was never published, we do not need to deprecate it. - Delete `tracing-slog`. This crate was never implemented, so we can just remove it from the repository. It can be re-created if we ever implement `slog` integration. - Move `tracing-env-logger` into a `tracing-log` module, and feature flag it. I updated some of the APIs as well. - Remove deleted crates from documentation. This makes most of the changes discussed in #308. Closes #308 Signed-off-by: Eliza Weisman <eliza@buoyant.io>
51 lines
1.1 KiB
TOML
51 lines
1.1 KiB
TOML
[package]
|
|
name = "examples"
|
|
version = "0.0.0"
|
|
publish = false
|
|
edition = "2018"
|
|
|
|
[dev-dependencies]
|
|
|
|
# tracing crates
|
|
tracing = "0.1"
|
|
tracing-core = "0.1"
|
|
tracing-tower = { version = "0.1.0", path = "../tracing-tower" }
|
|
tracing-subscriber = { version = "0.1", path = "../tracing-subscriber" }
|
|
tracing-futures = { version = "0.0.1-alpha.1", path = "../tracing-futures" }
|
|
tracing-attributes = "0.1.2"
|
|
tracing-log = { path = "../tracing-log", version = "0.1.1", features = ["env_logger"] }
|
|
tracing-serde = { path = "../tracing-serde" }
|
|
|
|
# serde example
|
|
serde_json = "1.0"
|
|
|
|
futures = "0.1"
|
|
tokio = "0.1"
|
|
hyper = "0.12"
|
|
|
|
# env-logger example
|
|
env_logger = "0.6"
|
|
|
|
# tower examples
|
|
bytes = "0.4"
|
|
h2 = "0.1.11"
|
|
tower-h2 = { git = "https://github.com/tower-rs/tower-h2.git" }
|
|
string = { git = "https://github.com/carllerche/string" }
|
|
http = "0.1"
|
|
tokio-current-thread = "0.1.1"
|
|
tokio-connect = { git = "https://github.com/carllerche/tokio-connect" }
|
|
tokio-io = "0.1"
|
|
tokio-tcp = "0.1"
|
|
tokio-buf = "0.1"
|
|
tower = "0.1"
|
|
tower-service = "0.2"
|
|
tower-util = "0.1"
|
|
tower-hyper = "0.1"
|
|
tower-http-util = "0.1"
|
|
rand = "0.7"
|
|
|
|
# sloggish example
|
|
ansi_term = "0.11"
|
|
humantime = "1.2"
|
|
log = "0.4"
|