wora 0.0.13

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.13"
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 = "procfs"
path = "examples/procfs.rs"

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

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

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

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

[dependencies.clap]
version = "4.6.1"
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.futures]
version = "0.3.32"

[dependencies.libc]
version = "0.2.186"

[dependencies.log]
version = "0.4.29"

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

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

[dependencies.opentelemetry]
version = "0.32.0"

[dependencies.os_info]
version = "3.15.0"

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

[dependencies.serde]
version = "1.0.228"
features = ["derive"]

[dependencies.serde_derive]
version = "1.0.228"

[dependencies.serde_json]
version = "1.0.150"

[dependencies.sysinfo]
version = "0.39.2"

[dependencies.thiserror]
version = "2.0.18"

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

[dependencies.toml]
version = "1.1.2"

[dependencies.tracing]
version = "0.1.44"

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

[dependencies.users]
version = "0.11.0"

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

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

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

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

[lints.rust]
unsafe_code = "forbid"