reverie/reverie-ptrace/Cargo.toml

34 lines
1.1 KiB
TOML
Raw Normal View History

# @generated by autocargo
[package]
name = "reverie-ptrace"
version = "0.1.0"
authors = ["Meta Platforms"]
edition = "2021"
license = "BSD-2-Clause"
[dependencies]
anyhow = "1.0.65"
async-trait = "0.1.56"
bincode = "1.3.3"
bytes = { version = "1.1", features = ["serde"] }
futures = { version = "0.3.22", features = ["async-await", "compat"] }
goblin = "0.5.2"
lazy_static = "1.4"
libc = "0.2.132"
nix = "0.25"
num-traits = "0.2"
paste = "1.0"
perf-event-open-sys = "1.0"
procfs = "0.9"
raw-cpuid = "10.6.0"
reverie = { version = "0.1.0", path = "../reverie" }
safeptrace = { version = "0.1.0", path = "../safeptrace" }
serde = { version = "1.0.136", features = ["derive", "rc"] }
thiserror = "1.0.36"
tokio = { version = "1.15", features = ["full", "test-util", "tracing"] }
tokio-stream = { version = "0.1.4", features = ["fs", "io-util", "net", "signal", "sync", "time"] }
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-subscriber = { version = "0.3.14", features = ["ansi", "env-filter", "fmt", "json", "local-time", "parking_lot", "registry"] }
unwind = { version = "0.4", features = ["ptrace"] }