- optimize async pty reads by not pre-initializing the given buffer
- make documentation for async code show up on docs.rs
as_fdandas_raw_fdforPtsinstances
kill_on_dropto match the tokio::process::Command behavior. (Samuel Ainsworth, #11)from_fdto unsafely create a Pty from an OwnedFd. (YtvwlD, #12)
- Changed the
Commandbuilder API slightly to be harder to misuse on platforms (such as macos) which require opening a pts before doing any operations on the pty, and which don't support spawning more than one process onto a pts.
- macos should be better supported now.
- Spawning a process without an existing controlling terminal should now work. (Chris Pick, #16)
- Switch from nix to rustix, for hopefully better portability
- Implemented AsRawFd for the Pty structs
- Complete rewrite of the API
- Tokio is now the only supported backend, enabled via the
asyncfeature
- Simplified the
Errortype to remove a bunch of unnecessary distinctions
- Bumped deps and moved to 2021 edition
- Initial release