wora 0.0.21

A framework for building applications (daemons, etc) that run in different environments (Linux, Kubernetes, etc).
Documentation
# 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 = "2024"
rust-version = "1.95"
name = "wora"
version = "0.0.21"
authors = ["Adam Flott <adam@adamflott.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A framework for building applications (daemons, etc) that run in different environments (Linux, Kubernetes, etc)."
readme = "README.md"
categories = ["development-tools"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/adamflott/wora"

[lib]
name = "wora"
path = "src/lib.rs"

[[example]]
name = "async_daemon"
path = "examples/async_daemon.rs"

[[example]]
name = "basic"
path = "examples/basic.rs"

[[example]]
name = "memory_diagnostics"
path = "examples/memory_diagnostics.rs"

[[example]]
name = "memory_report"
path = "examples/memory_report.rs"

[[example]]
name = "onboarding"
path = "examples/onboarding.rs"

[[example]]
name = "procfs"
path = "examples/procfs.rs"

[[example]]
name = "sysinfo"
path = "examples/sysinfo.rs"

[[example]]
name = "systemd_daemon"
path = "examples/systemd_daemon.rs"

[[test]]
name = "linux_mm"
path = "tests/linux_mm.rs"

[[test]]
name = "runtime"
path = "tests/runtime.rs"

[dependencies.async-trait]
version = "0.1.92"

[dependencies.chrono]
version = "0.4.45"
features = ["serde"]

[dependencies.clap]
version = "4.6.7"
features = [
    "derive",
    "env",
    "cargo",
]

[dependencies.decimal-percentage]
version = "0.1.4"

[dependencies.derive-getters]
version = "0.5.0"

[dependencies.derive_builder]
version = "0.20.2"

[dependencies.directories]
version = "6.0.0"

[dependencies.libc]
version = "0.2.191"

[dependencies.log]
version = "0.4.34"

[dependencies.nix]
version = "0.31.3"
features = [
    "process",
    "mman",
    "resource",
    "fs",
    "user",
]

[dependencies.notify]
version = "8.2.0"
features = ["serde"]

[dependencies.os_info]
version = "3.15.0"

[dependencies.proc-lock]
version = "0.4.0"

[dependencies.serde]
version = "1.0.229"
features = [
    "derive",
    "rc",
]

[dependencies.serde_derive]
version = "1.0.229"

[dependencies.serde_json]
version = "1.0.154"

[dependencies.sysinfo]
version = "0.39.6"

[dependencies.thiserror]
version = "2.0.21"

[dependencies.tokio]
version = "1.54.1"
features = ["full"]

[dependencies.tokio-util]
version = "0.7.20"
features = ["rt"]

[dependencies.toml]
version = "1.1.8"

[dependencies.tracing]
version = "0.1.44"

[dependencies.tracing-subscriber]
version = "0.3.23"

[build-dependencies.pkg-config]
version = "0.3.34"

[target.'cfg(target_os = "linux")'.dependencies.caps]
version = "0.5.5"

[target.'cfg(target_os = "linux")'.dependencies.linux-observability-mm]
version = "0.4.0"
features = ["serde1"]

[target.'cfg(target_os = "linux")'.dependencies.procfs]
version = "0.18.0"
features = ["serde1"]

[target.'cfg(target_os = "linux")'.dependencies.sd-notify]
version = "0.5.0"

[target.'cfg(target_os = "linux")'.dev-dependencies.tempfile]
version = "3"

[target.'cfg(target_os = "macos")'.dependencies.launchd]
version = "0.3.0"

[target.'cfg(target_os = "macos")'.dependencies.raunch]
version = "1.0.1"

[lints.clippy]
expect_used = "deny"
unwrap_used = "deny"

[lints.rust]
unsafe_code = "forbid"

[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
debug = 0
debug-assertions = false
rpath = false
panic = "abort"
overflow-checks = false
incremental = false
strip = "none"