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 91b8ebf commit b5ec95a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion reverie-examples/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,4 @@ reverie-util = { version = "0.1.0", path = "../reverie-util" }
serde = { version = "1.0.185", features = ["derive", "rc"] }
serde_json = { version = "1.0.100", features = ["float_roundtrip", "unbounded_depth"] }
tokio = { version = "1.36.0", features = ["full", "test-util", "tracing"] }
tracing = "0.1.40"
tracing = { version = "0.1.40", features = ["attributes"] }
4 changes: 2 additions & 2 deletions reverie-ptrace/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ serde = { version = "1.0.185", features = ["derive", "rc"] }
thiserror = "1.0.49"
tokio = { version = "1.36.0", features = ["full", "test-util", "tracing"] }
tokio-stream = { version = "0.1.14", features = ["fs", "io-util", "net", "signal", "sync", "time"] }
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"] }
unwind = { version = "0.4", features = ["ptrace"] }

[dev-dependencies]
Expand Down
4 changes: 2 additions & 2 deletions reverie-util/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ anyhow = "1.0.75"
chrono = { version = "0.4", features = ["clock", "serde", "std"], default-features = false }
clap = { version = "3.2.25", features = ["derive", "env", "regex", "unicode", "wrap_help"] }
reverie = { version = "0.1.0", path = "../reverie" }
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"] }

0 comments on commit b5ec95a

Please sign in to comment.