50b42e654c
for testability - Add `ManagedChild` trait abstracting process lifecycle (real `TokioChild` + `MockChild` for tests) - Use Unix process groups (`process_group(0)` + `libc::kill(-pgid, SIGKILL)`) for tree-wide termination - Remove cgroup-related code (`CgroupManager`, `ResourceUsage`, `cgroup_path` field) - Update imports across test files to use `workshop-engine` crate directly
26 lines
553 B
TOML
26 lines
553 B
TOML
[package]
|
|
name = "workshop-engine"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
|
|
[lib]
|
|
name = "workshop_engine"
|
|
path = "src/lib.rs"
|
|
|
|
[dependencies]
|
|
tokio = { version = "1.48.0", features = ["full"] }
|
|
thiserror = "2.0.17"
|
|
serde = { version = "1.0.228", features = ["derive"] }
|
|
serde_json = "1.0.148"
|
|
serde_yaml = "0.9.34"
|
|
chrono = { version = "0.4.42", features = ["serde"] }
|
|
async-trait = "0.1.87"
|
|
lazy_static = "1.5.0"
|
|
log = "0.4.28"
|
|
os_info = "3.14.0"
|
|
duration-str = "0.21.0"
|
|
libc = "0.2"
|
|
|
|
[dev-dependencies]
|
|
tokio = { version = "1.48.0", features = ["full"] }
|