idunn orders serve takes orders over a root-only socket from the steward uid, records order/start/outcome/post in its own orders.cc, and posts acceptance and result to #operator as a retried projection. Unit orders may act on any unit except the compiled always-refused set (idunn-*, mind-self@*, mind-persona@*), matched on a unit's Id and every name, and for stop and restart on the units systemd stops with it. A refusal names a field and a code, never the value. A started order is never run twice. Deploy orders commit through the same primitive as idunn up. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
56 lines
1.4 KiB
TOML
56 lines
1.4 KiB
TOML
[package]
|
|
description = "GameCult deployment admission and daemon-survival authority"
|
|
name = "idunn"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
license = "MIT"
|
|
publish = false
|
|
|
|
[[bin]]
|
|
name = "idunn"
|
|
path = "src/main.rs"
|
|
|
|
[[bin]]
|
|
name = "idunn-provision"
|
|
path = "src/bin/idunn-provision.rs"
|
|
|
|
[[bin]]
|
|
name = "idunn-host"
|
|
path = "src/bin/idunn-host.rs"
|
|
|
|
[[bin]]
|
|
name = "idunn-launch"
|
|
path = "src/bin/idunn-launch.rs"
|
|
|
|
[lib]
|
|
name = "idunn_daemon"
|
|
path = "src/lib.rs"
|
|
|
|
[dependencies]
|
|
anyhow = "1"
|
|
cultmesh-rs = { git = "https://github.com/GameCult/CultLib.git", rev = "61549aa90bf1937a2bd4fc7d9d190d74d366f69e", package = "cultmesh-rs" }
|
|
cultcache-rs = { git = "https://github.com/GameCult/CultLib.git", rev = "61549aa90bf1937a2bd4fc7d9d190d74d366f69e", package = "cultcache-rs" }
|
|
cultnet-rs = { git = "https://github.com/GameCult/CultLib.git", rev = "61549aa90bf1937a2bd4fc7d9d190d74d366f69e", package = "cultnet-rs" }
|
|
rmp-serde = "1.3"
|
|
sha2 = "0.10"
|
|
chrono = "0.4"
|
|
serde = { version = "1", features = ["derive"] }
|
|
ed25519-dalek = "2.2"
|
|
toml = "0.8"
|
|
uuid = { version = "1", features = ["v4"] }
|
|
serde_json = "1"
|
|
|
|
[dev-dependencies]
|
|
tempfile = "3"
|
|
|
|
[target.'cfg(unix)'.dependencies]
|
|
libc = "0.2"
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
windows-sys = { version = "0.59", features = [
|
|
"Win32_Foundation",
|
|
"Win32_Security",
|
|
"Win32_Security_Authorization",
|
|
"Win32_System_RemoteDesktop",
|
|
"Win32_System_Threading",
|
|
] }
|