# 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.56.0" name = "tokio-metrics" version = "0.3.1" authors = ["Tokio Contributors "] 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", ] [[example]] name = "runtime" required-features = ["rt"] [[bench]] name = "poll_overhead" harness = false [dependencies.futures-util] version = "0.3.19" [dependencies.pin-project-lite] version = "0.2.7" [dependencies.tokio] version = "1.31.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.26.0" features = [ "full", "rt", "time", "macros", "test-util", ] [features] default = ["rt"] rt = ["tokio"]