torrust-metrics 0.1.0

Prometheus metrics integration library providing type-safe metric collection and aggregation.
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 = "2024"
rust-version = "1.88"
name = "torrust-metrics"
version = "0.1.0"
authors = ["Nautilus Cyberneering <info@nautilus-cyberneering.de>, Mick van Dijke <mick@dutchbits.nl>"]
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Prometheus metrics integration library providing type-safe metric collection and aggregation."
homepage = "https://torrust.com/"
documentation = "https://docs.rs/torrust-metrics/"
readme = "README.md"
keywords = [
    "api",
    "library",
    "metrics",
]
license = "AGPL-3.0-only"
repository = "https://github.com/torrust/torrust-metrics"

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

[dependencies.chrono]
version = "0"
features = ["clock"]
default-features = false

[dependencies.derive_more]
version = "2"
features = [
    "constructor",
    "display",
]

[dependencies.openmetrics-parser]
version = "0.4.4"

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1.0.140"

[dependencies.thiserror]
version = "2"

[dependencies.torrust-clock]
version = "3.0.0"

[dependencies.tracing]
version = "0.1.41"

[dev-dependencies.approx]
version = "0.5.1"

[dev-dependencies.formatjson]
version = "0.3.1"

[dev-dependencies.mutants]
version = "0.0.3"

[dev-dependencies.pretty_assertions]
version = "1.4.1"

[dev-dependencies.rstest]
version = "0.25.0"