# 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 = "metrics-exporter-scope"
version = "0.2.0"
authors = ["Serhij S.
"]
build = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Metrics scope exporter"
readme = "README.md"
keywords = [
"metrics",
"scope",
"exporter",
]
license = "Apache-2.0"
repository = "https://github.com/roboplc/metrics-exporter-scope"
[lib]
name = "metrics_exporter_scope"
path = "src/lib.rs"
[[example]]
name = "client"
path = "examples/client.rs"
[[example]]
name = "simple"
path = "examples/simple.rs"
[[example]]
name = "with-fallback"
path = "examples/with-fallback.rs"
[dependencies.bma-ts]
version = "0.1.14"
features = ["serde"]
[dependencies.metrics]
version = "0.24"
optional = true
[dependencies.metrics-legacy]
version = "0.22"
optional = true
package = "metrics"
[dependencies.metrics-util]
version = "0.18"
features = [
"recency",
"registry",
]
optional = true
default-features = false
[dependencies.metrics-util-legacy]
version = "0.16"
features = [
"recency",
"registry",
]
optional = true
default-features = false
package = "metrics-util"
[dependencies.rmp-serde]
version = "1.3"
[dependencies.rtsc]
version = "0.3"
[dependencies.serde]
version = "1.0"
features = [
"derive",
"rc",
]
[dependencies.thiserror]
version = "1.0.63"
[dependencies.tracing]
version = "0.1.40"
[dev-dependencies.metrics-exporter-prometheus]
version = "0.16"
features = ["http-listener"]
default-features = false
[dev-dependencies.tokio]
version = "1.39"
features = ["rt"]
[dev-dependencies.tracing-subscriber]
version = "0.3.18"
[features]
default = ["latest"]
latest = [
"metrics",
"metrics-util",
]
msrv = [
"metrics-legacy",
"metrics-util-legacy",
]