prometric 0.2.2

Metric types to use with the prometric-derive crate.
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"
name = "prometric"
version = "0.2.2"
build = false
exclude = [
    ".claude/",
    ".github/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Metric types to use with the prometric-derive crate."
readme = "README.md"
keywords = [
    "prometheus",
    "metrics",
    "derive",
]
categories = ["development-tools"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/chainbound/prometric"
resolver = "2"

[features]
default = [
    "exporter",
    "summary",
]
exporter = [
    "dep:hyper",
    "dep:hyper-util",
    "dep:tokio",
]
process = ["dep:sysinfo"]
summary = [
    "dep:metrics-util",
    "dep:metrics-exporter-prometheus",
    "dep:parking_lot",
    "dep:quanta",
    "dep:orx-concurrent-vec",
    "dep:arc-cell",
]

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

[dependencies.arc-cell]
version = "0.3.3"
optional = true

[dependencies.hyper]
version = "1.7.0"
features = [
    "http1",
    "server",
]
optional = true

[dependencies.hyper-util]
version = "0.1.17"
features = ["tokio"]
optional = true

[dependencies.metrics-exporter-prometheus]
version = "0.17.2"
optional = true

[dependencies.metrics-util]
version = "0.20.0"
optional = true

[dependencies.orx-concurrent-vec]
version = "3.10.0"
optional = true

[dependencies.parking_lot]
version = "0.12"
optional = true

[dependencies.prometheus]
version = "0.14.0"

[dependencies.quanta]
version = "0.12.6"
optional = true

[dependencies.sysinfo]
version = "0.37.2"
optional = true

[dependencies.tokio]
version = "1.40.0"
features = [
    "net",
    "rt",
    "macros",
]
optional = true

[dev-dependencies]