[package]
edition = "2021"
rust-version = "1.75"
name = "greggd"
version = "1.0.13"
authors = ["David Bowman <dbowman91@proton.me>"]
build = false
include = [
"src/**/*.rs",
"Cargo.toml",
"README.md",
"LICENSE",
"../../packaging/**/*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Lightweight Linux, macOS, and Windows metrics daemon that exposes a read-only JSON API for the gregg client."
homepage = "https://github.com/eggstack/gregg"
readme = "README.md"
keywords = [
"metrics",
"daemon",
"system",
"monitoring",
]
categories = [
"command-line-utilities",
"command-line-interface",
]
license = "MIT"
repository = "https://github.com/eggstack/gregg"
[package.metadata.docs.rs]
all-features = true
[lib]
name = "greggd"
path = "src/lib.rs"
[[bin]]
name = "greggd"
path = "src/main.rs"
[dependencies.axum]
version = "0.7"
features = [
"http1",
"tokio",
]
default-features = false
[dependencies.clap]
version = ">=4.0, <4.5"
features = ["derive"]
[dependencies.gregg-protocol]
version = "1.0.13"
[dependencies.gregg-update]
version = "1.0.13"
[dependencies.indexmap]
version = ">=2.0, <2.12"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.thiserror]
version = "1.0"
default-features = false
[dependencies.tokio]
version = "1"
features = [
"rt",
"net",
"macros",
"sync",
"time",
"signal",
"fs",
"io-util",
]
[dependencies.toml]
version = "0.8"
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-subscriber]
version = "0.3"
features = [
"env-filter",
"fmt",
]
[dev-dependencies.gregg-protocol]
version = "1.0.13"
features = ["test_support"]
[dev-dependencies.http-body-util]
version = "0.1"
[dev-dependencies.hyper]
version = "1.0"
features = ["client"]
[dev-dependencies.tokio]
version = "1"
features = [
"macros",
"rt-multi-thread",
"time",
"sync",
"io-util",
]
[dev-dependencies.tower]
version = "0.4"
features = ["util"]
[target.'cfg(target_os = "windows")'.dependencies.windows-service]
version = ">=0.6.0, <0.8"
[target."cfg(unix)".dependencies.libc]
version = "0.2"
[lints.clippy]
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
result_large_err = "allow"
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "deny"