# 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 = "2018" name = "prometheus_exporter_base" version = "1.4.0" authors = ["Francesco Cogno "] description = "Prometheus Rust exporters base crate with optional boilerplate" homepage = "https://github.com/MindFlavor/prometheus_exporter_base" documentation = "https://docs.rs/prometheus_exporter_base" readme = "README.md" keywords = [ "prometheus", "exporter", ] categories = ["database"] license = "MIT" repository = "https://github.com/MindFlavor/prometheus_exporter_base" [[example]] name = "simple" required-features = ["hyper_server"] [[example]] name = "folder_size" required-features = ["hyper_server"] [dependencies.base64] version = "0.13.1" optional = true [dependencies.env_logger] version = "0.9.3" [dependencies.http] version = "0.2" optional = true [dependencies.hyper] version = "0.14" features = ["server"] optional = true [dependencies.hyper-rustls] version = "0.23" features = ["rustls-native-certs"] optional = true [dependencies.log] version = "0.4.8" [dependencies.num] version = "0.4" [dependencies.serde] version = "1.0.110" [dependencies.serde_json] version = "1.0.53" [dependencies.thiserror] version = "1.0" [dev-dependencies.clap] version = "4.0" features = ["cargo"] [dev-dependencies.tokio] version = "1.0" features = ["full"] [features] hyper_server = [ "hyper", "hyper-rustls", "http", "base64", ]