Skip to content

Commit

Permalink
A cargo dependency is no longer conditionnal
Browse files Browse the repository at this point in the history
  • Loading branch information
Jérôme Froissart committed Oct 29, 2021
1 parent 1ed89aa commit fedf7d5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tokio/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,11 @@ parking_lot = { version = "0.11.0", optional = true }

# Currently unstable. The API exposed by these features may be broken at any time.
# Requires `--cfg tokio_unstable` to enable.
[target.'cfg(tokio_unstable)'.dependencies]
#
#
# We're not gating this create behind a cfg flag (defined in a [target.cfg(...)], because cargo would not know it before actually invoking rustc)
# See https://github.com/rust-lang/cargo/issues/6858
# [target.'cfg(tokio_unstable)'.dependencies]
tracing = { version = "0.1.21", default-features = false, features = ["std"], optional = true } # Not in full

[target.'cfg(unix)'.dependencies]
Expand Down

0 comments on commit fedf7d5

Please sign in to comment.