server: properly support socket activation
Some checks failed
Build and test / check (push) Successful in 1m0s
Build and test / build (push) Successful in 1m34s
Build and test / test (push) Has been cancelled
Build and test / docs (push) Has been cancelled

This commit is contained in:
2026-01-05 19:48:23 +09:00
parent 8156fdea51
commit d4771189bc
3 changed files with 91 additions and 27 deletions

10
Cargo.lock generated
View File

@@ -817,6 +817,7 @@ dependencies = [
"clap",
"futures-util",
"nix",
"sd-notify",
"serde",
"tokio",
"toml",
@@ -857,6 +858,15 @@ version = "1.0.22"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a50f4cf475b65d88e057964e0e9bb1f0aa9bbb2036dc65c64596b42932536984"
[[package]]
name = "sd-notify"
version = "0.4.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b943eadf71d8b69e661330cb0e2656e31040acf21ee7708e2c238a0ec6af2bf4"
dependencies = [
"libc",
]
[[package]]
name = "self_cell"
version = "1.2.2"