[package] name = "pmacct-prometheus" description = "Prometheus metrics endpoint for pmacct derived flow stats." version = "0.2.0" authors = ["Nick Douma "] edition = "2021" readme = "README.md" homepage = "https://gitlab.com/LordGaav/pmacct-prometheus" repository = "https://gitlab.com/LordGaav/pmacct-prometheus" license = "GPL-3.0-only" keywords = ["pmacct", "network", "prometheus", "metrics"] categories = ["command-line-utilities"] include = ["**/*.rs", "README.md", "LICENSE", "Cargo.toml", "Makefile.toml"] [dependencies] anyhow = { version = "1.0.86", features = ["backtrace"] } axum = { version = "0.7.5", features = ["http2", "http1", "tokio", "tower-log", "tracing"], default-features = false } chrono = { version = "0.4.38", default-features = false, features = ["clock"] } clap = { version = "4.5.11", features = ["derive", "env"] } csv = "1.3.0" exitcode = "1.1.2" geohash = "0.13.1" ip_network = "0.4.1" ip_network_table = "0.2.0" ipnet = { version = "2.9.0", features = ["serde"] } opentelemetry = "0.24.0" opentelemetry-otlp = { version = "0.17.0", features = ["tls", "tls-roots"] } opentelemetry_sdk = { version = "0.24.1", features = ["rt-tokio"] } prometheus = { version = "0.13.4", default-features = false } self_update = { version = "0.39.0", default-features = false, features = ["rustls"] } serde = "1.0.204" serde_json = "1.0.121" tokio = { version = "1.39.2", default-features = false, features = ["rt-multi-thread"] } tower-http = { version = "0.5.2", features = ["trace"] } tracing = "0.1.40" tracing-opentelemetry = "0.25.0" tracing-subscriber = { version = "0.3.18", features = ["json", "env-filter", "chrono"] } which = "6.0.1" [profile.release] strip = true opt-level = 2 lto = true codegen-units = 1 [profile.prof] inherits = "release" strip = false [dev-dependencies] pretty_assertions = "1.4.0" rstest = { version = "0.22.0", default-features = false }