sync from monorepo @ 2452e92e
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
[package]
|
||||
name = "dirigent_process"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
description = "Cross-platform process lifecycle management for Dirigent"
|
||||
|
||||
[lib]
|
||||
path = "src/lib.rs"
|
||||
|
||||
[features]
|
||||
default = []
|
||||
tokio = ["dep:tokio"]
|
||||
|
||||
[dependencies]
|
||||
tracing = "0.1"
|
||||
tokio = { version = "1", features = ["process", "time"], optional = true }
|
||||
|
||||
[target.'cfg(windows)'.dependencies]
|
||||
windows-sys = { version = "0.59", features = [
|
||||
"Win32_System_JobObjects",
|
||||
"Win32_System_Threading",
|
||||
"Win32_Foundation",
|
||||
"Win32_System_Console",
|
||||
"Win32_Security",
|
||||
] }
|
||||
|
||||
[target.'cfg(unix)'.dependencies]
|
||||
nix = { version = "0.29", features = ["signal", "process"] }
|
||||
libc = "0.2"
|
||||
|
||||
[dev-dependencies]
|
||||
tokio = { version = "1", features = ["macros", "rt-multi-thread"] }
|
||||
Reference in New Issue
Block a user