-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCargo.toml
More file actions
93 lines (86 loc) · 2.43 KB
/
Copy pathCargo.toml
File metadata and controls
93 lines (86 loc) · 2.43 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
[package]
name = "nyanpasu-utils"
version = "0.1.0"
edition = "2024"
description = "Shared utilities for Nyanpasu applications and services."
repository = "https://github.com/LibNyanpasu/nyanpasu-utils"
license = "GPL-3.0"
[[bin]]
doc = false
name = "nyanpasu-test-child"
path = "tests/helpers/test_child.rs"
[[example]]
name = "containment_probe"
required-features = ["process"]
[dependencies]
camino = { version = "1.1", features = ["serde1"], optional = true }
constcat = "0.6.0"
derive_builder = { version = "0.20", optional = true }
dirs = { version = "6", optional = true }
encoding_rs = { version = "0.8", optional = true }
kill_tree = { version = "0.2.4", features = ["tokio"], optional = true }
log = { version = "0.4", optional = true }
memchr = "2.7"
os_pipe = { version = "1.2.0", optional = true }
parking_lot = "0.12.3"
processkit = {
git = "https://github.com/ZelAnton/ProcessKit-rs",
rev = "2adad322f1e3d7c471f3b9c8c625e44f356e416b",
features = ["tracing"],
optional = true
}
serde = { version = "1", features = ["derive"], optional = true }
shared_child = { version = "1", optional = true }
specta = { version = "^2.0.0-rc.25", features = ["derive"], optional = true }
sysinfo = { version = "0.39", optional = true }
tempfile = { version = "3", optional = true }
thiserror = "2"
tokio = { version = "1", features = ["full"] }
tokio-util = { version = "0.7", optional = true }
tracing = "0.1"
tracing-attributes = "0.1"
[dev-dependencies]
tempfile = "3"
test-log = "0.2"
[target."cfg(unix)".dependencies]
libc = { version = "0.2", optional = true }
nix = {
version = "0.31.0",
features = ["process", "signal", "user", "fs"],
optional = true
}
[target."cfg(windows)".dependencies]
windows = {
version = "0.62",
features = [
"Win32_Security",
"Win32_Security_Authorization",
"Win32_System_Console",
"Win32_System_Threading",
"Win32_UI_Shell",
],
optional = true
}
[features]
default = ["core_manager", "dirs", "network", "serde"]
atomic_fs = ["os"]
core_manager = [
"dep:camino",
"dep:derive_builder",
"dep:encoding_rs",
"dep:os_pipe",
"os",
]
deadlock_detection = ["parking_lot/deadlock_detection"]
dirs = ["dep:dirs", "dep:windows"]
network = ["dep:log", "dep:tempfile"]
os = [
"dep:kill_tree",
"dep:nix",
"dep:shared_child",
"dep:sysinfo",
"dep:windows",
]
process = ["dep:encoding_rs", "dep:libc", "dep:processkit", "dep:tokio-util", "os", "atomic_fs"]
serde = ["dep:serde"]
specta = ["dep:specta"]