third-party/rust: make tracing and tracing-subscriber available to no-std universe

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

Reviewed By: dtolnay

Differential Revision: D55333115

fbshipit-source-id: e66ee699cb3bc3e74f6c7b4d9a81e488e9768e40
This commit is contained in:
Jeremy Fitzhardinge 2024-03-25 21:40:59 -07:00 committed by Facebook GitHub Bot
parent 91b8ebf0b6
commit b5ec95a82c
3 changed files with 5 additions and 5 deletions

View file

@ -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"] }

View file

@ -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]

View file

@ -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"] }