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