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
[]
= "aube-scripts"
= "Lifecycle script runner for Aube"
= true
= true
= true
= true
= true
= true
= true
= ["src/**/*.rs"]
[]
# aube-codes provides the `WARN_AUBE_*` constants used by Windows
# Job Object fallback warnings emitted via `tracing::warn!(code = ...)`.
# miette `#[diagnostic(code(ERR_AUBE_X))]` attributes treat the code
# as an identifier token (not a symbol reference) so they don't need
# this dep at expansion time — but the `tracing::warn!` sites do.
= { = true }
= { = true }
= { = true }
= { = true }
= { = true }
= { = true }
= { = true }
# content_sniff.rs compiles a fixed set of patterns once via OnceLock
# and matches them against dependency lifecycle script bodies. Already
# in the dep graph transitively via pluralizer + yamlpatch — adding as
# a direct dep keeps the workspace honest about who actually uses it.
= { = true }
[]
= { = true }
= { = true }
= { = true }
[]
# Job Objects + Foundation for the kill-on-job-close process tree reaper
# used by `run_command_killing_descendants`. On Windows,
# `TerminateProcess` on the direct cmd.exe shell does not propagate to
# its descendants (node-gyp → MSBuild → node), so without a Job Object
# aborting a failing lifecycle script leaves grandchildren running.
# `CreateJobObjectW` in windows-sys v0.61 is `cfg(feature =
# "Win32_Security")` because its signature mentions `SECURITY_ATTRIBUTES`
# — we pass NULL but still need the feature for the function symbol to
# be visible. windows-sys v0.61 is already in the dep graph
# transitively (rustls, tokio), so this just selects the extra
# features aube-scripts needs.
= { = "0.61", = [
"Win32_Foundation",
"Win32_Security",
"Win32_System_JobObjects",
] }
[]
# Tests poll grandchild liveness with OpenProcess / GetExitCodeProcess.
= { = "0.61", = [
"Win32_Foundation",
"Win32_Security",
"Win32_System_JobObjects",
"Win32_System_Threading",
] }