nix v0.12.0 Release Notes

Release Date: 2018-11-28 // over 5 years ago
  • ➕ Added

    • ➕ Added FromStr and Display impls for nix::sys::Signal (#884)
    • ➕ Added a sync wrapper. (#961)
    • ➕ Added a sysinfo wrapper. (#922)
    • 👌 Support the SO_PEERCRED socket option and the UnixCredentials type on all Linux and Android targets. (#921)
    • ➕ Added support for SCM_CREDENTIALS, allowing to send process credentials over Unix sockets. (#923)
    • ➕ Added a dir module for reading directories (wraps fdopendir, readdir, and rewinddir). (#916)
    • ➕ Added kmod module that allows loading and unloading kernel modules on Linux. (#930)
    • ➕ Added futimens and utimesat wrappers (#944), an lutimes wrapper (#967), and a utimes wrapper (#946).
    • ➕ Added AF_UNSPEC wrapper to AddressFamily (#948)
    • ➕ Added the mode_t public alias within sys::stat. (#954)
    • ➕ Added a truncate wrapper. (#956)
    • ➕ Added a fchownat wrapper. (#955)
    • ➕ Added support for ptrace on BSD operating systems (#949)
    • ➕ Added ptrace functions for reads and writes to tracee memory and ptrace kill (#949) (#958)
    • ➕ Added a acct wrapper module for enabling and disabling process accounting (#952)
    • Added the time_t and suseconds_t public aliases within sys::time. (#968)
    • ➕ Added unistd::execvpe for Haiku, Linux and OpenBSD (#975)
    • ➕ Added Error::as_errno. (#977)

    🔄 Changed

    • Increased required Rust version to 1.24.1 (#900) (#966)

    🛠 Fixed

    • Made preadv take immutable slice of IoVec. (#914)
    • 🛠 Fixed passing multiple file descriptors over Unix Sockets. (#918)

    ✂ Removed