async-pidfd
async-pidfd copied to clipboard
Add nightly feature
This PR adds a nightly
feature which uses the recently added PidFd
type from the standard library.
Thank you very much for taking the time to implement this, and show how it could work with nightly Rust.
I would prefer to avoid maintaining parallel support for nightly Rust, though; I would rather wait for PidFd support in std to be stable. At that point, though, I will definitely switch to it, and drop a substantial amount of code from this crate. (I may use the nightly portion of your PR at that point.)
I'm also hoping that OwnedFd and BorrowedFd become stable around the same time, so that I can stop using RawFd. I may also bump the version to 1.0 at that time.