microsd 0.0.0

Light‐weight systemd auxiliars
Documentation
  • Coverage
  • 47.62%
    10 out of 21 items documented2 out of 5 items with examples
  • Size
  • Source code size: 53.73 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 2.73 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 19s Average build duration of successful builds.
  • all releases: 19s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • illdefined

Synopsis

This is a set of light‐weight functions to enable socket‐based activation and service manager notification. Please refer to the crate documentation for details.

Features

This crate currently supports retrieving file descriptors passed by the service manager by means of an iterator, as well as retrieving the notification socket. It attempts to do so as lazily as possible.

Passed file descriptor names are currently not available but support may be added in a future version.

While this crate supports retrieving the file descriptors as compio types for convenience through the respective feature flag, it is completely sync for now. This should however not be an issue as most of the system calls are not required to perform any actual I/O and thus should not block the calling thread unnecessarily.

Support for other async run‐times or additional convenience function may be considered in the future.

Intellectual property

This work is licenced under the European Union Public Licence with a Universal FOSS Exception.

The latter serves to avoid any uncertainty about linking. In the opinion of the author, this work may always be linked, statically or dynamically, without having to consider the result a derivative work, even without such an exception.