0.35.6
API changes include:
- Most of the API is now behind feature flags. For example, to use
rustix::fs, enable the "fs" feature. io::Erroris renamed toio::Errno.fs::Dirno longer takes anOwnedFd.fs::Dir::read_fromconstructs aDirwithout taking ownership of the passed-in fd, so users that needAsFdshould use a separateOwnedFdto provide it.mmapand related functions have moved torustix::mm- Terminal-related ioctls have been renamed to their termios names and moved to
rustix::termios. ZStrandZStringhave been replaced byCStrandCString.dup2's second argument is now&mut OwnedFd.- io-lifetimes'
as_filelike_viewno longer provides&mutdereferences; to use withFileI/O, do an extra&*on the view. fchownandchownatnow takeOption<Uid>andOption<Gid>instead of publicly special-casing -1.with_retryingis renamed toretry_on_intr