prometheus-client 0.24.1

Open Metrics client library allowing users to natively instrument applications.
Documentation
# 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.24.1"
authors = ["Max Inden <mail@max-inden.de>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
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

[features]
default = []
protobuf = [
    "dep:prost",
    "dep:prost-types",
    "dep:prost-build",
]
test-util = []

[lib]
name = "prometheus_client"
path = "src/lib.rs"

[[example]]
name = "actix-web"
path = "examples/actix-web.rs"

[[example]]
name = "axum"
path = "examples/axum.rs"

[[example]]
name = "custom-metric"
path = "examples/custom-metric.rs"

[[example]]
name = "hyper"
path = "examples/hyper.rs"

[[example]]
name = "io_write"
path = "examples/io_write.rs"

[[example]]
name = "tide"
path = "examples/tide.rs"

[[bench]]
name = "baseline"
path = "benches/baseline.rs"
harness = false

[[bench]]
name = "exemplars"
path = "benches/exemplars.rs"
harness = false

[[bench]]
name = "family"
path = "benches/family.rs"
harness = false

[[bench]]
name = "proto"
path = "benches/encoding/proto.rs"
harness = false
required-features = ["protobuf"]

[[bench]]
name = "text"
path = "benches/encoding/text.rs"
harness = false
required-features = []

[dependencies.dtoa]
version = "1.0"

[dependencies.itoa]
version = "1.0"

[dependencies.parking_lot]
version = "0.12"

[dependencies.prometheus-client-derive-encode]
version = "0.5.0"

[dependencies.prost]
version = "0.12.0"
optional = true

[dependencies.prost-types]
version = "0.12.0"
optional = true

[dev-dependencies.actix-web]
version = "4"

[dev-dependencies.async-std]
version = "1"
features = ["attributes"]

[dev-dependencies.axum]
version = "0.7"

[dev-dependencies.criterion]
version = "0.5"

[dev-dependencies.futures]
version = "0.3"

[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.27"

[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.12.0"
optional = true