# 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 = "prometheus-client" version = "0.22.3" authors = ["Max Inden "] description = "Open Metrics client library allowing users to natively instrument applications." homepage = "https://github.com/prometheus/client_rust" documentation = "https://docs.rs/prometheus-client" readme = "README.md" keywords = [ "openmetrics", "prometheus", "metrics", "instrumentation", "monitoring", ] license = "Apache-2.0 OR MIT" repository = "https://github.com/prometheus/client_rust" [package.metadata.docs.rs] all-features = true [[bench]] name = "baseline" harness = false [[bench]] name = "family" harness = false [[bench]] name = "text" path = "benches/encoding/text.rs" harness = false required-features = [] [[bench]] name = "proto" path = "benches/encoding/proto.rs" harness = false required-features = ["protobuf"] [dependencies.dtoa] version = "1.0" [dependencies.itoa] version = "1.0" [dependencies.parking_lot] version = "0.12" [dependencies.prometheus-client-derive-encode] version = "0.4.1" [dependencies.prost] version = "0.11.0" optional = true [dependencies.prost-types] version = "0.11.0" optional = true [dev-dependencies.actix-web] version = "4" [dev-dependencies.async-std] version = "1" features = ["attributes"] [dev-dependencies.criterion] version = "0.5" [dev-dependencies.http-body-util] version = "0.1.1" [dev-dependencies.http-types] version = "2" [dev-dependencies.hyper] version = "1.3.1" features = [ "server", "http1", ] [dev-dependencies.hyper-util] version = "0.1.3" features = ["tokio"] [dev-dependencies.pyo3] version = "0.20" [dev-dependencies.quickcheck] version = "1" [dev-dependencies.rand] version = "0.8.4" [dev-dependencies.tide] version = "0.16" [dev-dependencies.tokio] version = "1" features = [ "rt-multi-thread", "net", "macros", "signal", ] [build-dependencies.prost-build] version = "0.11.0" optional = true [features] default = [] protobuf = [ "dep:prost", "dep:prost-types", "dep:prost-build", ]