Skip to content

Commit 6d00d7d

Browse files
authored
tracing-core: Do not add valuable/std feature as dependency unless valuable is used (#3002)
## Motivation `tracing-core` adds a dependency on `valuable` anytime the `std` (or `default`) feature is enabled even when `valuable` is not meant to be used. This was pointed out by [this comment](#1608 (comment)). ## Solution Only add the feature dependency when something enables `valuable`. This does not apply to `master` as `valuable` support there is always on.
1 parent 36bf063 commit 6d00d7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tracing-core/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ edition = "2018"
2727
rust-version = "1.63.0"
2828

2929
[features]
30-
default = ["std", "valuable/std"]
30+
default = ["std", "valuable?/std"]
3131
std = ["once_cell"]
3232

3333
[badges]

0 commit comments

Comments
 (0)