zinit 0.3.9

Process supervisor with dependency management
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.92"
name = "zinit"
version = "0.3.9"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Process supervisor with dependency management"
documentation = "https://docs.rs/zinit"
readme = "README.md"
license = "Apache-2.0"
repository = "https://forge.ourworld.tf/geomind_code/zinit"

[features]
async = []
client = ["clap"]
client-full = [
    "client",
    "tui",
]
default = [
    "client",
    "server",
    "rhai",
]
full = [
    "client-full",
    "server",
    "pid1",
]
pid1 = [
    "nix",
    "tracing",
    "tracing-subscriber",
    "clap",
]
rhai = [
    "dep:rhai",
    "dep:lazy_static",
]
server = [
    "petgraph",
    "nix",
    "tracing",
    "tracing-subscriber",
    "clap",
    "sysinfo",
    "log",
]
tui = [
    "client",
    "ratatui",
    "crossterm",
    "async",
    "futures",
    "tokio-util",
]

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

[[bin]]
name = "zinit"
path = "src/bin/zinit.rs"
required-features = ["client"]

[[bin]]
name = "zinit-pid1"
path = "src/bin/zinit-pid1.rs"
required-features = ["pid1"]

[[bin]]
name = "zinit-server"
path = "src/bin/zinit-server.rs"
required-features = ["server"]

[[example]]
name = "main"
path = "examples/rust/main.rs"
required-features = ["client"]

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

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

[dependencies.anyhow]
version = "1.0"

[dependencies.clap]
version = "4.5"
features = ["derive"]
optional = true

[dependencies.crossterm]
version = "0.29"
features = ["event-stream"]
optional = true

[dependencies.dirs]
version = "5.0"

[dependencies.futures]
version = "0.3"
optional = true

[dependencies.lazy_static]
version = "1.4"
optional = true

[dependencies.libc]
version = "0.2"

[dependencies.log]
version = "0.4"
optional = true

[dependencies.nix]
version = "0.30"
features = [
    "signal",
    "process",
    "reboot",
    "fs",
]
optional = true

[dependencies.petgraph]
version = "0.8"
optional = true

[dependencies.ratatui]
version = "0.30"
optional = true

[dependencies.rhai]
version = "1.20"
optional = true

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

[dependencies.serde_json]
version = "1.0"

[dependencies.sysinfo]
version = "0.37.2"
optional = true

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1.48"
features = [
    "full",
    "process",
]

[dependencies.tokio-util]
version = "0.7"
features = ["rt"]
optional = true

[dependencies.toml]
version = "0.9"

[dependencies.tracing]
version = "0.1"
optional = true

[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]
optional = true

[dev-dependencies.rstest]
version = "0.23"

[dev-dependencies.serial_test]
version = "3.2"

[dev-dependencies.tempfile]
version = "3.14"

[dev-dependencies.tokio]
version = "1.48"
features = [
    "full",
    "process",
    "test-util",
]