# 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.90.0"
name = "systemg"
version = "0.26.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A simple process manager."
readme = "README.md"
license = "MIT"

[package.metadata.docs.rs]
features = []

[features]
linux = []
macos = []

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

[[bin]]
name = "sysg"
path = "src/bin/main.rs"

[[test]]
name = "cli"
path = "tests/integration/cli.rs"

[[test]]
name = "cron"
path = "tests/integration/cron.rs"

[[test]]
name = "cron_pid_race"
path = "tests/integration/cron_pid_race.rs"

[[test]]
name = "deployment"
path = "tests/integration/deployment.rs"

[[test]]
name = "hooks"
path = "tests/integration/hooks.rs"

[[test]]
name = "logs"
path = "tests/integration/logs.rs"

[[test]]
name = "pid_tracking"
path = "tests/integration/pid_tracking.rs"

[[test]]
name = "process"
path = "tests/integration/process.rs"

[[test]]
name = "service_control"
path = "tests/integration/service_control.rs"

[[test]]
name = "service_control_regression"
path = "tests/integration/service_control_regression.rs"

[[test]]
name = "status"
path = "tests/integration/status.rs"

[[test]]
name = "supervisor"
path = "tests/integration/supervisor.rs"

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

[dependencies.chrono-tz]
version = "0.9"

[dependencies.clap]
version = "4.0"
features = ["derive"]

[dependencies.cron]
version = "0.12"

[dependencies.ctrlc]
version = "3.4"

[dependencies.fs2]
version = "0.4"

[dependencies.libc]
version = "0.2.170"

[dependencies.nix]
version = "0.29"
features = [
    "process",
    "signal",
    "user",
    "sched",
    "resource",
]

[dependencies.quick-xml]
version = "0.36"
features = ["serialize"]

[dependencies.regex]
version = "1.7"

[dependencies.reqwest]
version = "0.11"
features = ["blocking"]

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

[dependencies.serde_json]
version = "1.0"

[dependencies.serde_yaml]
version = "0.9"

[dependencies.sha2]
version = "0.10"

[dependencies.strum]
version = "0.27"
features = ["derive"]

[dependencies.strum_macros]
version = "0.27"

[dependencies.sysinfo]
version = "0.33"

[dependencies.terminal_size]
version = "0.4"

[dependencies.thiserror]
version = "1.0"

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = [
    "fmt",
    "env-filter",
]

[dev-dependencies.assert_cmd]
version = "2.0"

[dev-dependencies.predicates]
version = "2.1"

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

[target.'cfg(all(target_os = "linux", target_env = "musl"))'.dependencies.openssl-sys]
version = "0.9"
features = ["vendored"]

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

[target.'cfg(target_os = "linux")'.dependencies.openssl-sys]
version = "0.9"
features = ["vendored"]
