mirror of
https://github.com/tokio-rs/tracing.git
synced 2026-04-17 15:14:48 +00:00
## Motivation PR #441 increased the minimum supported Rust version, but it only changed the Azure Pipelines CI configuration, and not the GitHub Actions one. Additionally, upstream changes to `tower` has broken some of the examples. ## Solution This branch bumps the MSRV on GitHub Actions as well, and comments out examples that depend on code broken upstream. Additionally, it turns out that — due to Cool Cargo Semver Reasons — it's more or less impossible to depend on both tokio 0.2.0-alpha.6 *and* tokio 0.2 release versions. This branch therefore just drops the 0.2.0-alpha.6 support; the next `tracing-futures` will be a breaking change anyway. Co-authored-by: David Barsky <me@davidbarsky.com> Signed-off-by: Eliza Weisman <eliza@buoyant.io>
57 lines
1.3 KiB
TOML
57 lines
1.3 KiB
TOML
[package]
|
|
name = "examples"
|
|
version = "0.0.0"
|
|
publish = false
|
|
edition = "2018"
|
|
|
|
[features]
|
|
default = []
|
|
broken = ["tower-h2"]
|
|
|
|
[dependencies]
|
|
# optional dependencies cannot be dev-dependencies.
|
|
tower-h2 = { git = "https://github.com/tower-rs/tower-h2.git", optional = true }
|
|
|
|
[dev-dependencies]
|
|
|
|
# tracing crates
|
|
tracing = "0.1"
|
|
tracing-core = "0.1"
|
|
tracing-tower = { version = "0.1.0", path = "../tracing-tower" }
|
|
tracing-subscriber = { version = "0.2.0-alpha.1", path = "../tracing-subscriber", features = ["json", "chrono"] }
|
|
tracing-futures = { version = "0.2.0", 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"
|
|
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" |