reverie/reverie-util/Cargo.toml

22 lines
745 B
TOML
Raw Normal View History

# @generated by autocargo
[package]
name = "reverie-util"
version = "0.1.0"
authors = ["Meta Platforms"]
edition = "2021"
license = "BSD-2-Clause"
[dependencies]
anyhow = "1.0.65"
bitvec = { version = "0.17", features = ["serde"] }
chrono = { version = "0.4", features = ["clock", "serde", "std"], default-features = false }
clap = { version = "3.2.17", features = ["derive", "env", "regex", "unicode", "wrap_help"] }
libc = "0.2.137"
nix = "0.25"
reverie = { version = "0.1.0", path = "../reverie" }
serde = { version = "1.0.136", features = ["derive", "rc"] }
tracing = "0.1.35"
third-party: update tracing-core, tracing-subscriber, and tracing-appender Summary: This diff updates tracing. New features include: ## `tracing` - New `Value` implementations for `String` and 128-bit integers. The `Value` implementation for `String` allows recording a `String` without needing to call `.as_str()` or similar. The `Value` implementation allows recording 128-bit integers, resolving this papercut: https://fb.workplace.com/groups/learningrust/permalink/3208916922712504/. - There are additional methods on different trait objects of` Subscriber`s. ## `tracing-subscriber` - Fixes multiple filtering bugs in the `Layer` implementations for `Option<impl Layer>` and `Vec<impl Layer>` (this is how folks are able to do arbitrary/dynamic numbers of loggers in `tracing`). - Increases the minimum version of `tracing-core`. - Adds a new `Layer::event_enabled` method, which allows Layers to filter events _after_ their field values are recorded. This is import for - Some bug fixes in the `Filter` implementation for `EnvFilter`. ## `tracing-appender` - Fixes bug in `RollingFileAppender` that could result in a failure to rotate the log file, or in panics in debug mode. Notice to self: it seems like the filtering implementation in `tracing-subscriber` is kinda complex: it could make sense to fuzz it. --- ## Linked Change Logs - `tracing-core`: https://github.com/tokio-rs/tracing/blob/v0.1.x/tracing-core/CHANGELOG.md#0128-june-23-2022 - `tracing-subscriber`: https://github.com/tokio-rs/tracing/blob/v0.1.x/tracing-subscriber/CHANGELOG.md#0314-jul-1-2022 - `tracing-appender`: https://github.com/tokio-rs/tracing/blob/v0.1.x/tracing-appender/CHANGELOG.md#022-march-17-2022 (Note: this ignores all push blocking failures!) Reviewed By: jsgf Differential Revision: D37932030 fbshipit-source-id: bee53e5ba219ffbcc9009781d347cd6b40f577ee
2022-07-21 18:36:12 +00:00
tracing-appender = "0.2.2"
tracing-subscriber = { version = "0.3.16", features = ["ansi", "env-filter", "fmt", "json", "local-time", "parking_lot", "registry"] }