# 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" rust-version = "1.74.1" name = "jail_exporter" version = "0.17.0" authors = ["David O'Rourke "] build = "build.rs" exclude = [ ".cirrus.yml", ".editorconfig", ".gitignore", ".rustfmt.toml", "Makefile", "grafana/jail_exporter.json", "man/jail_exporter.8", "rc.d/jail_exporter", ] autobins = false autoexamples = false autotests = false autobenches = false description = "Prometheus exporter for FreeBSD jails." homepage = "https://github.com/phyber/jail_exporter" readme = "README.md" keywords = [ "exporter", "freebsd", "jail", "metrics", "prometheus", ] license = "MIT" repository = "https://github.com/phyber/jail_exporter.git" resolver = "2" [profile.release] lto = true [[bin]] name = "jail_exporter" path = "src/main.rs" [dependencies.askama] version = "0.12" default-features = false [dependencies.axum] version = "0.7.2" features = [ "http1", "tokio", "tower-log", "tracing", ] default-features = false [dependencies.base64] version = "0.22" optional = true default-features = false [dependencies.bcrypt] version = "0.15.0" optional = true [dependencies.clap] version = "4.4.0" features = [ "cargo", "env", "std", "wrap_help", ] default-features = false [dependencies.dialoguer] version = "0.11.0" features = ["password"] optional = true default-features = false [dependencies.jail] version = "0.3.0" [dependencies.parking_lot] version = "0.12" [dependencies.prometheus-client] version = "0.22" [dependencies.rand] version = "0.8" optional = true [dependencies.rctl] version = "0.3.0" [dependencies.serde] version = "1.0" features = ["derive"] optional = true [dependencies.serde_yaml] version = "0.9" optional = true [dependencies.sysctl] version = "0.6" [dependencies.tempfile] version = "3.8.0" [dependencies.thiserror] version = "1.0" [dependencies.tokio] version = "1.32" features = [ "macros", "rt-multi-thread", ] [dependencies.tower-http] version = "0.6" features = ["trace"] [dependencies.tracing] version = "0.1" [dependencies.tracing-subscriber] version = "0.3" [dependencies.uzers] version = "0.12" features = ["cache"] default-features = false [dev-dependencies.indoc] version = "2.0" [dev-dependencies.once_cell] version = "1.18.0" [dev-dependencies.pretty_assertions] version = "1.4.0" [dev-dependencies.tower] version = "0.5" features = ["util"] [dev-dependencies.uzers] version = "0.12" features = ["mock"] default-features = false [build-dependencies.rustc_version] version = "0.4" [features] auth = [ "base64", "bcrypt", "serde", "serde_yaml", ] bcrypt_cmd = [ "bcrypt", "dialoguer", "rand", ] default = [ "auth", "bcrypt_cmd", "rc_script", ] rc_script = []