# 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" name = "perf-gauge" version = "0.1.20" authors = ["Eugene Retunsky"] publish = true description = """ Gauging performance of network services. Snapshot or continuous, supports Prometheus metrics. """ homepage = "https://github.com/xnuter/perf-gauge" readme = "README.md" license = "MIT OR Apache-2.0" repository = "https://github.com/xnuter/perf-gauge" [dependencies.async-trait] version = "0.1" [dependencies.base64] version = "0.13" [dependencies.boring] version = "1" optional = true default-features = false [dependencies.bytesize] version = "1.0" [dependencies.clap] version = "3.1.6" features = ["derive"] [dependencies.derive_builder] version = "0.9" [dependencies.futures-util] version = "0.3" [dependencies.histogram] version = "0.6" [dependencies.humantime] version = "2.0" [dependencies.hyper] version = "0.14" features = ["full"] [dependencies.hyper-boring] version = "2" optional = true default-features = false [dependencies.hyper-tls] version = "0.5" optional = true default-features = false [dependencies.leaky-bucket] version = "0.12.1" [dependencies.log] version = "0.4" [dependencies.log4rs] version = "1" [dependencies.native-tls] version = "0.2" optional = true default-features = false [dependencies.prometheus] version = "0.13" features = ["push"] optional = true default-features = false [dependencies.rand] version = "0.8" [dependencies.regex] version = "1.3" [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_derive] version = "1.0" [dependencies.serde_json] version = "1.0" [dependencies.serde_yaml] version = "0.8" [dependencies.tokio] version = "1" features = ["full"] [dependencies.tokio-native-tls] version = "0.3" optional = true default-features = false [dev-dependencies.mockito] version = "0.28" [dev-dependencies.tokio-test] version = "0.4" [features] default = [] full = [ "report-to-prometheus", "tls-native", ] full-boring = [ "report-to-prometheus", "tls-boring", ] report-to-prometheus = ["prometheus"] tls = ["hyper-tls"] tls-boring = [ "tls", "hyper-boring", "boring", ] tls-native = [ "tls", "native-tls", "tokio-native-tls", ]