# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.74.0" name = "console-subscriber" version = "0.4.1" authors = [ "Eliza Weisman ", "Tokio Contributors ", ] build = false autobins = false autoexamples = false autotests = false autobenches = false description = """ A `tracing-subscriber::Layer` for collecting Tokio console telemetry. """ homepage = "https://github.com/tokio-rs/console/blob/main/console-subscriber" readme = "README.md" keywords = [ "tracing", "tracing-subscriber", "tokio-console", "debugging", "async", ] categories = [ "development-tools::debugging", "development-tools::profiling", "asynchronous", ] license = "MIT" repository = "https://github.com/tokio-rs/console/" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "console_subscriber" path = "src/lib.rs" [[example]] name = "app" path = "examples/app.rs" [[example]] name = "barrier" path = "examples/barrier.rs" [[example]] name = "dump" path = "examples/dump.rs" [[example]] name = "grpc_web" path = "examples/grpc_web/main.rs" required-features = ["grpc-web"] [[example]] name = "local" path = "examples/local.rs" [[example]] name = "long_scheduled" path = "examples/long_scheduled.rs" [[example]] name = "long_sleep" path = "examples/long_sleep.rs" [[example]] name = "mutex" path = "examples/mutex.rs" [[example]] name = "rwlock" path = "examples/rwlock.rs" [[example]] name = "semaphore" path = "examples/semaphore.rs" [[example]] name = "uds" path = "examples/uds.rs" [[test]] name = "framework" path = "tests/framework.rs" [[test]] name = "poll" path = "tests/poll.rs" [[test]] name = "spawn" path = "tests/spawn.rs" [[test]] name = "wake" path = "tests/wake.rs" [dependencies.console-api] version = "0.8.1" features = ["transport"] [dependencies.crossbeam-channel] version = "0.5" [dependencies.crossbeam-utils] version = "0.8.7" [dependencies.futures-task] version = "0.3" default-features = false [dependencies.hdrhistogram] version = "7.3.0" features = ["serialization"] default-features = false [dependencies.humantime] version = "2.1.0" [dependencies.hyper-util] version = "0.1.6" features = ["tokio"] [dependencies.parking_lot] version = "0.12" optional = true [dependencies.prost] version = "0.13.1" [dependencies.prost-types] version = "0.13.1" [dependencies.serde] version = "1" features = ["derive"] [dependencies.serde_json] version = "1" [dependencies.thread_local] version = "1.1.3" [dependencies.tokio] version = "^1.21" features = [ "sync", "time", "macros", "tracing", ] [dependencies.tokio-stream] version = "0.1" features = ["net"] [dependencies.tonic] version = "0.12" features = ["transport"] [dependencies.tonic-web] version = "0.12" optional = true [dependencies.tracing] version = "0.1.26" [dependencies.tracing-core] version = "0.1.24" [dependencies.tracing-subscriber] version = "0.3.17" features = [ "fmt", "registry", ] default-features = false [dev-dependencies.futures] version = "0.3" [dev-dependencies.http] version = "1.1" [dev-dependencies.tokio] version = "^1.21" features = [ "full", "rt-multi-thread", ] [dev-dependencies.tower] version = "0.4" default-features = false [dev-dependencies.tower-http] version = "0.5" features = ["cors"] [features] default = ["env-filter"] env-filter = ["tracing-subscriber/env-filter"] grpc-web = ["dep:tonic-web"] parking_lot = [ "dep:parking_lot", "tracing-subscriber/parking_lot", ] [lints.rust.unexpected_cfgs] level = "warn" priority = 0 check-cfg = [ "cfg(tokio_unstable)", "cfg(console_without_tokio_unstable)", ]