# 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"
name = "epics-tools-rs"
version = "0.13.0"
authors = ["Sang Woo Kim <sngwkim915@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Operational tooling for EPICS deployments — process supervisors, log/audit dumpers, config validators. First tenant: procserv (Rust port of epics-modules/procServ)."
readme = "README.md"
license-file = "LICENSE"
repository = "https://github.com/epics-rs/epics-rs"

[features]
default = [
    "procserv",
    "procserv-bin",
]
procserv = []
procserv-bin = [
    "procserv",
    "dep:clap",
    "dep:tracing-subscriber",
]

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

[[bin]]
name = "procserv-rs"
path = "src/bin/procserv_rs.rs"
required-features = ["procserv-bin"]

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

[dependencies.chrono]
version = "0.4"

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

[dependencies.epics-base-rs]
version = "0.13.0"

[dependencies.parking_lot]
version = "0.12"

[dependencies.thiserror]
version = "2"

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

[dependencies.tracing]
version = "0.1"

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

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

[target."cfg(unix)".dependencies.libc]
version = "0.2"

[target."cfg(unix)".dependencies.nix]
version = "0.29"
features = [
    "signal",
    "process",
    "term",
    "fs",
]
