From d8f8aeec4bcde4e3bd1cb1d32641ef401e1f6882 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 28 Feb 2026 15:29:12 +0000 Subject: [PATCH] Add sd-notify dependency Signed-off-by: Ian Jackson --- Cargo.lock | 10 ++++++++++ Cargo.lock.minimal | 7 +++++++ Cargo.toml | 1 + debian/control | 1 + 4 files changed, 19 insertions(+) diff --git a/Cargo.lock b/Cargo.lock index aa7eab1..d247bf2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -651,6 +651,7 @@ dependencies = [ "pin-project-lite", "regex", "reqwest", + "sd-notify", "semver", "serde", "serde_json", @@ -1496,6 +1497,15 @@ version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" +[[package]] +name = "sd-notify" +version = "0.4.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b943eadf71d8b69e661330cb0e2656e31040acf21ee7708e2c238a0ec6af2bf4" +dependencies = [ + "libc", +] + [[package]] name = "security-framework" version = "2.11.1" diff --git a/Cargo.lock.minimal b/Cargo.lock.minimal index 8296b2e..aedc700 100644 --- a/Cargo.lock.minimal +++ b/Cargo.lock.minimal @@ -691,6 +691,7 @@ dependencies = [ "pin-project-lite", "regex", "reqwest", + "sd-notify", "semver", "serde", "serde_json", @@ -1526,6 +1527,12 @@ version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd" +[[package]] +name = "sd-notify" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "621e3680f3e07db4c9c2c3fb07c6223ab2fab2e54bd3c04c3ae037990f428c32" + [[package]] name = "security-framework" version = "2.1.0" diff --git a/Cargo.toml b/Cargo.toml index c857374..7096575 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -59,6 +59,7 @@ parking_lot = ">= 0.11, < 0.13" pin-project-lite = "0.2" reqwest = { version = "0.12.8", features = [ "default-tls" ] } regex = "1.5" +sd-notify = "0.4.1" sha2 = "0.10" subtle = "2" syslog = ">=6, <8" diff --git a/debian/control b/debian/control index a3b344c..cbf1ad8 100644 --- a/debian/control +++ b/debian/control @@ -44,6 +44,7 @@ Build-Depends: debhelper (>= 12), librust-quote-dev (>= 1~) , librust-regex-dev (>= 1.5~) , librust-reqwest-dev (>= 0.12.8~) , + librust-sd-notify-dev (>= 0.4.1~) , librust-semver-dev (>= 1.0.14~) , librust-serde-dev (>= 1.0.106~) , librust-serde-json-dev (>= 1.0.41~) , -- 2.30.2