- added
notify_with_fds
andlisten_fds_with_names
, for storing and retrieving file descriptors
- fixed
listen_fds
to use the right value ofFD_CLOEXEC
- added
watchdog_enabled
(similar tosd_watchdog_enabled
)
- (breaking)
NotifyState::Status
,NotifyState::BusError
andNotifyState::Custom
now contain a&str
instead of aString
- the crate is now using the 2021 edition
- (breaking)
listen_fds
now returns an iterator overRawFd
values - (breaking)
SD_LISTEN_FDS_START
is gone
- (breaking) changed the
NotifyState::MainPid
andNotifyState::Error
data fromi32
tou32
- (breaking) changed
listen_fds
to returnResult<u32>
instead ofResult<i32>
- fixed
Display
implementation forNotifyState::WatchdogUsec
andNotifyState::ExtendTimeoutUsec
- removed a stray debug print
listen_fds
function for file descriptor retrieval when using socket activation
- Initial release