- (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
bootedto returnOk(false)when not running under systemd - fixed
watchdog_enabledto handle missingWATCHDOG_PID
- fixed a dubious transmute between different slice types
- added
NotifyState::MonotonicUsec, for use withType=notify-reload
- added
notify_with_fdsandlisten_fds_with_names, for storing and retrieving file descriptors
- fixed
listen_fdsto use the right value ofFD_CLOEXEC
- added
watchdog_enabled(similar tosd_watchdog_enabled)
- (breaking)
NotifyState::Status,NotifyState::BusErrorandNotifyState::Customnow contain a&strinstead of aString - the crate is now using the 2021 edition
- (breaking)
listen_fdsnow returns an iterator overRawFdvalues - (breaking)
SD_LISTEN_FDS_STARTis gone
- (breaking) changed the
NotifyState::MainPidandNotifyState::Errordata fromi32tou32 - (breaking) changed
listen_fdsto returnResult<u32>instead ofResult<i32>
- fixed
Displayimplementation forNotifyState::WatchdogUsecandNotifyState::ExtendTimeoutUsec - removed a stray debug print
listen_fdsfunction for file descriptor retrieval when using socket activation
- initial release