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
Releases
latest 13-
0.5.009 Mar 2026Release notes
Open source →Changed
- (breaking) the
unset_envparameters were split off into separate unsafe functions - (breaking)
watchdog_enablednow returnsOption<Duration> - the MSRV is now defined as 1.82
Fixed
- fixed
bootedto returnOk(false)when not running under systemd - fixed
watchdog_enabledto handle missingWATCHDOG_PID
- (breaking) the
-
0.4.518 Jan 2025 -
0.4.416 Jan 2025 -
0.4.305 Oct 2024Release notes
Open source →Added
- added
notify_with_fdsandlisten_fds_with_names, for storing and retrieving file descriptors
- added
-
0.4.203 Jul 2024 -
0.4.131 Aug 2022 -
0.4.012 Jan 2022Release notes
Open source →Changed
- (breaking)
NotifyState::Status,NotifyState::BusErrorandNotifyState::Customnow contain a&strinstead of aString - the crate is now using the 2021 edition
- (breaking)
-
0.3.025 Feb 2021Release notes
Open source →Changed
- (breaking)
listen_fdsnow returns an iterator overRawFdvalues - (breaking)
SD_LISTEN_FDS_STARTis gone
- (breaking)
-
0.2.018 Feb 2021Release notes
Open source →Changed
- (breaking) changed the
NotifyState::MainPidandNotifyState::Errordata fromi32tou32 - (breaking) changed
listen_fdsto returnResult<u32>instead ofResult<i32>
Fixed
- fixed
Displayimplementation forNotifyState::WatchdogUsecandNotifyState::ExtendTimeoutUsec - removed a stray debug print
- (breaking) changed the
-
0.1.120 Oct 2019Release notes
Open source →Added
listen_fdsfunction for file descriptor retrieval when using socket activation
-
0.1.022 Sep 2019 -
0.1.0-rc.221 Sep 2019 pre-releaseNothing published for this version
-
0.1.0-rc.120 Sep 2019 pre-releaseNothing published for this version