Crates.io | microsd |
lib.rs | microsd |
version | 0.0.0 |
created_at | 2025-09-01 15:26:50.866332+00 |
updated_at | 2025-09-01 15:26:50.866332+00 |
description | Light‐weight systemd auxiliars |
homepage | |
repository | https://woof.rip/mikael/microsd |
max_upload_size | |
id | 1819800 |
size | 54,211 |
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.
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.
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.