lucab / libsystemd-rs

A pure-Rust client library to work with systemd
https://crates.io/crates/libsystemd
Other
105 stars 19 forks source link

Fix IO safety #142

Closed swsnr closed 1 year ago

swsnr commented 1 year ago

Bump MSRV to 1.63, and improve IO saftey.

Closes #141

I'd love to use rustix instead of nix because it cares for IO safety more than nix and returns proper BorrowedFD/OwnedFD. But unfortunately it doesn't have sendmsg yet, so we can't replace nix completely.