# 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 = "pomfrit" version = "0.1.9" include = [ "src/**/*.rs", "README.md", "LICENSE", ] description = "Prometheus metrics exporter with hot reload" readme = "README.md" keywords = [ "metrics", "prometheus", ] license-file = "./LICENSE" repository = "https://github.com/broxus/pomfrit" [dependencies.anyhow] version = "1.0" optional = true [dependencies.futures-util] version = "0.3" optional = true [dependencies.hyper] version = "0.14" features = [ "server", "tcp", ] optional = true [dependencies.log] version = "0.4" optional = true [dependencies.num-traits] version = "0.2" [dependencies.parking_lot] version = "0.12" optional = true [dependencies.serde] version = "1" features = ["derive"] optional = true [dependencies.tokio] version = "1" features = [ "macros", "sync", "time", "rt", ] optional = true [dev-dependencies.futures-test] version = "0.3" [features] default = [ "serde", "http1", ] exporter = [ "anyhow", "futures-util", "hyper", "log", "parking_lot", "tokio", ] http1 = [ "exporter", "hyper/http1", ] http2 = [ "exporter", "hyper/http2", ]