Skip to content

Commit

Permalink
third-party/rust: make tracing and tracing-subscriber available to no…
Browse files Browse the repository at this point in the history
…-std universe

Summary: They support no-std with a bunch of features turned off.

Reviewed By: dtolnay

Differential Revision: D55333115

fbshipit-source-id: e66ee699cb3bc3e74f6c7b4d9a81e488e9768e40
  • Loading branch information
Jeremy Fitzhardinge authored and facebook-github-bot committed Mar 26, 2024
1 parent a5c02d3 commit fb78d7c
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion detcore-model/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ nix = "0.25"
reverie-syscalls = { version = "0.1.0", git = "https://github.com/facebookexperimental/reverie.git", branch = "main" }
serde = { version = "1.0.185", features = ["derive", "rc"] }
shell-words = "1.1.0"
tracing = "0.1.40"
tracing = { version = "0.1.40", features = ["attributes"] }

[dev-dependencies]
pretty_assertions = { version = "1.2", features = ["alloc"], default-features = false }
2 changes: 1 addition & 1 deletion detcore/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ serde = { version = "1.0.185", features = ["derive", "rc"] }
serde_json = { version = "1.0.100", features = ["float_roundtrip", "unbounded_depth"] }
tempfile = "3.8"
tokio = { version = "1.36.0", features = ["full", "test-util", "tracing"] }
tracing = "0.1.40"
tracing = { version = "0.1.40", features = ["attributes"] }

[dev-dependencies]
detcore-testutils = { version = "0.0.0", path = "tests/testutils" }
Expand Down
4 changes: 2 additions & 2 deletions detcore/tests/testutils/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ reverie = { version = "0.1.0", git = "https://github.com/facebookexperimental/re
reverie-ptrace = { version = "0.1.0", git = "https://github.com/facebookexperimental/reverie.git", branch = "main" }
test-allocator = { version = "0.0.0", path = "../../../common/test-allocator" }
tokio = { version = "1.36.0", features = ["full", "test-util", "tracing"] }
tracing = "0.1.40"
tracing-subscriber = { version = "0.3.18", features = ["ansi", "chrono", "env-filter", "fmt", "json", "local-time", "parking_lot", "registry"] }
tracing = { version = "0.1.40", features = ["attributes"] }
tracing-subscriber = { version = "0.3.18", features = ["chrono", "env-filter", "json", "local-time", "parking_lot", "registry"] }
4 changes: 2 additions & 2 deletions hermit-cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ serde_json = { version = "1.0.100", features = ["float_roundtrip", "unbounded_de
shell-words = "1.1.0"
tempfile = "3.8"
tokio = { version = "1.36.0", features = ["full", "test-util", "tracing"] }
tracing = "0.1.40"
tracing = { version = "0.1.40", features = ["attributes"] }
tracing-appender = "0.2.2"
tracing-subscriber = { version = "0.3.18", features = ["ansi", "chrono", "env-filter", "fmt", "json", "local-time", "parking_lot", "registry"] }
tracing-subscriber = { version = "0.3.18", features = ["chrono", "env-filter", "json", "local-time", "parking_lot", "registry"] }
uuid = { version = "1.2", features = ["serde", "v4", "v5", "v6", "v7", "v8"] }
2 changes: 1 addition & 1 deletion hermit-verify/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ rand = { version = "0.8", features = ["small_rng"] }
serde_json = { version = "1.0.100", features = ["float_roundtrip", "unbounded_depth"] }
similar = { version = "2.2.0", features = ["inline"] }
tempfile = "3.8"
tracing = "0.1.40"
tracing = { version = "0.1.40", features = ["attributes"] }

[dev-dependencies]
pretty_assertions = { version = "1.2", features = ["alloc"], default-features = false }

0 comments on commit fb78d7c

Please sign in to comment.