513d019ac3
While this slightly duplicates code we just do not profit from the central, lazy static variant here, as that is only really useful in daemons to avoid doing frequent syscalls there. proxmox just pull in far to much (e.g., tokio) and duplicating that one line of simple code has no real maintenance cost, so just go for that and use the nix crate directly. Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com> |
||
---|---|---|
.. | ||
main.rs |