# 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.70.0" name = "tokio-metrics" version = "0.4.0" authors = ["Tokio Contributors "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = """ Runtime and task level metrics for Tokio applications. """ homepage = "https://tokio.rs" readme = "README.md" keywords = [ "async", "futures", "metrics", "debugging", ] categories = [ "asynchronous", "network-programming", ] license = "MIT" repository = "https://github.com/tokio-rs/tokio-metrics" [package.metadata.docs.rs] all-features = true rustc-args = [ "--cfg", "tokio_unstable", ] rustdoc-args = [ "--cfg", "docsrs", "--cfg", "tokio_unstable", ] [lib] name = "tokio_metrics" path = "src/lib.rs" [[example]] name = "axum" path = "examples/axum.rs" [[example]] name = "runtime" path = "examples/runtime.rs" required-features = ["rt"] [[example]] name = "stream" path = "examples/stream.rs" [[example]] name = "task" path = "examples/task.rs" [[bench]] name = "poll_overhead" path = "benches/poll_overhead.rs" harness = false [dependencies.futures-util] version = "0.3.19" [dependencies.pin-project-lite] version = "0.2.7" [dependencies.tokio] version = "1.41.0" features = [ "rt", "time", "net", ] optional = true [dependencies.tokio-stream] version = "0.1.11" [dev-dependencies.axum] version = "0.6" [dev-dependencies.criterion] version = "0.3.4" [dev-dependencies.futures] version = "0.3.21" [dev-dependencies.num_cpus] version = "1.13.1" [dev-dependencies.serde] version = "1.0.136" features = ["derive"] [dev-dependencies.serde_json] version = "1.0.79" [dev-dependencies.tokio] version = "1.41.0" features = [ "full", "rt", "time", "macros", "test-util", ] [features] default = ["rt"] rt = ["tokio"] [lints.rust.unexpected_cfgs] level = "warn" priority = 0 check-cfg = ["cfg(tokio_unstable)"]