third-party: update tracing and related crates

Summary:
This diff does the following:
- Updates the tracing crates to the latest versions available. Changes include:
    - Experimental support for [Valuable](https://tokio.rs/blog/2021-05-valuable), which makes recording values much more like how serde does. Valuable also makes it easier to write a tracing-slog crate due to some implementation details of slog where buffering of values is necessary.
    - Combinators for combining filters in tracing-subscriber.
    - A `MakeWriter` implementation for `RollingFileAppender` in `tracing_appender`, which allows the `RollingFileAppender` without a background thread to being spun up.
    - Reduced the disabled span drop overhead by 50-70%—this might be most apparent in tests that don't set a subscriber.
- Move the tokio-console off git dependencies and to published versions on crates.io.

This diff also updates the following, non-exhaustive list of crates:
- parking_lot
- prost
- thread_local
- tonic
- hyper
- httparse
- h2

allow-large-files

Reviewed By: jsgf, fanzeyi

Differential Revision: D34801437

fbshipit-source-id: 2409de9194c8e00647ac5e4c514325fd2e23d247
This commit is contained in:
David Barsky 2022-03-16 15:36:55 -07:00 committed by Facebook GitHub Bot
parent 401e7f31ad
commit 7bfb3c0fe6
3 changed files with 6 additions and 6 deletions

View file

@ -58,4 +58,4 @@ serde = { version = "1.0.126", features = ["derive", "rc"] }
serde_json = { version = "1.0.64", features = ["float_roundtrip", "unbounded_depth"] }
structopt = "0.3.23"
tokio = { version = "1.15", features = ["full", "test-util", "tracing"] }
tracing = "0.1.29"
tracing = "0.1.32"

View file

@ -29,8 +29,8 @@ serde = { version = "1.0.126", features = ["derive", "rc"] }
thiserror = "1.0.29"
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.29"
tracing-subscriber = { version = "0.3.3", features = ["ansi", "env-filter", "fmt", "json", "parking_lot", "registry"] }
tracing = "0.1.32"
tracing-subscriber = { version = "0.3.9", features = ["ansi", "env-filter", "fmt", "json", "parking_lot", "registry"] }
unwind = { version = "0.4", features = ["ptrace"] }
[dev-dependencies]

View file

@ -15,6 +15,6 @@ nix = "0.22"
reverie = { version = "0.1.0", path = "../reverie" }
serde = { version = "1.0.126", features = ["derive", "rc"] }
structopt = "0.3.23"
tracing = "0.1.29"
tracing-appender = "0.2.0"
tracing-subscriber = { version = "0.3.3", features = ["ansi", "env-filter", "fmt", "json", "parking_lot", "registry"] }
tracing = "0.1.32"
tracing-appender = "0.2.1"
tracing-subscriber = { version = "0.3.9", features = ["ansi", "env-filter", "fmt", "json", "parking_lot", "registry"] }