async-pidfd icon indicating copy to clipboard operation
async-pidfd copied to clipboard

Add nightly feature

Open voidc opened this issue 3 years ago • 1 comments

This PR adds a nightly feature which uses the recently added PidFd type from the standard library.

voidc avatar Aug 02 '21 12:08 voidc

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.

joshtriplett avatar Aug 02 '21 16:08 joshtriplett