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 authored and vthib committed Sep 8, 2022
1 parent 50795e6 commit 9d17369
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 @@ -122,7 +122,11 @@ socket2 = { version = "0.4.4", features = [ "all" ] }

# 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.25", default-features = false, features = ["std"], optional = true } # Not in full

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

0 comments on commit 9d17369

Please sign in to comment.