PackageTrack
Sign in Get early access

sd-notify

Lightweight crate for systemd service state notifications

0.5.0 14M downloads/mo #2616 most downloaded on crates.io lnicola/sd-notify

What this package is like to depend on

Last release 5 months ago

09 Mar 2026

Release timing varies

gaps range from 4 weeks to 1.8 years

Nearly every release is documented

notes for 11 of 11 stable releases

Nothing withdrawn

no release was ever pulled

7 years old

13 releases · first in 2019

1 release in the last 12 months

see the full history below

Release timeline

13 releases · Sep 2019 to Mar 2026
2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 13
  1. 0.5.0 09 Mar 2026
    Release notes

    chore: Release sd-notify version 0.5.0

    Open source →
    Release notes

    Changed

    • (breaking) the unset_env parameters were split off into separate unsafe functions
    • (breaking) watchdog_enabled now returns Option<Duration>
    • the MSRV is now defined as 1.82

    Fixed

    • fixed booted to return Ok(false) when not running under systemd
    • fixed watchdog_enabled to handle missing WATCHDOG_PID
    Open source →
  2. 0.4.5 18 Jan 2025
    Release notes

    chore: Release sd-notify version 0.4.5

    Open source →
    Release notes

    Fixed

    • fixed a dubious transmute between different slice types
    Open source →
  3. 0.4.4 16 Jan 2025
    Release notes

    chore: Release sd-notify version 0.4.4

    Open source →
    Release notes

    Added

    • added NotifyState::MonotonicUsec, for use with Type=notify-reload
    Open source →
  4. 0.4.3 05 Oct 2024
    Release notes

    chore: Release sd-notify version 0.4.3

    Open source →
    Release notes

    Added

    • added notify_with_fds and listen_fds_with_names, for storing and retrieving file descriptors
    Open source →
  5. 0.4.2 03 Jul 2024
    Release notes

    chore: Release sd-notify version 0.4.2

    Open source →
    Release notes

    Fixed

    • fixed listen_fds to use the right value of FD_CLOEXEC
    Open source →
  6. 0.4.1 31 Aug 2022
    Release notes

    (cargo-release) sd-notify version 0.4.1

    Open source →
    Release notes

    Changed

    Open source →
  7. 0.4.0 12 Jan 2022
    Release notes

    (cargo-release) sd-notify version 0.4.0

    Open source →
    Release notes

    Changed

    • (breaking) NotifyState::Status, NotifyState::BusError and NotifyState::Custom now contain a &str instead of a String
    • the crate is now using the 2021 edition
    Open source →
  8. 0.3.0 25 Feb 2021
    Release notes

    (cargo-release) sd-notify version 0.3.0

    Open source →
    Release notes

    Changed

    • (breaking) listen_fds now returns an iterator over RawFd values
    • (breaking) SD_LISTEN_FDS_START is gone
    Open source →
  9. 0.2.0 18 Feb 2021
    Release notes

    (cargo-release) sd-notify version 0.2.0

    Open source →
    Release notes

    Changed

    • (breaking) changed the NotifyState::MainPid and NotifyState::Error data from i32 to u32
    • (breaking) changed listen_fds to return Result<u32> instead of Result<i32>

    Fixed

    • fixed Display implementation for NotifyState::WatchdogUsec and NotifyState::ExtendTimeoutUsec
    • removed a stray debug print
    Open source →
  10. 0.1.1 20 Oct 2019
    Release notes

    (cargo-release) sd-notify version 0.1.1

    Open source →
    Release notes

    Added

    • listen_fds function for file descriptor retrieval when using socket activation
    Open source →
  11. 0.1.0 22 Sep 2019
    Release notes

    Added

    • initial release
    Open source →
  12. 0.1.0-rc.2 21 Sep 2019 pre-release

    Nothing published for this version

  13. 0.1.0-rc.1 20 Sep 2019 pre-release

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive