nix v0.15.0 Release Notes

Release Date: 2019-08-10 // 9 days ago
  • ➕ Added

    • ➕ Added MSG_WAITALL to MsgFlags in sys::socket. (#1079)
    • 👯 Implemented Clone, Copy, Debug, Eq, Hash, and PartialEq for most types that support them. (#1035)
    • Added copy_file_range wrapper (#1069)
    • ➕ Add mkdirat. (#1084)
    • ➕ Add posix_fadvise. (#1089)
    • ➕ Added AF_VSOCK to AddressFamily. (#1091)
    • ➕ Add unlinkat (#1058)
    • ➕ Add renameat. (#1097)

    🔄 Changed

    • 👌 Support for ifaddrs now present when building for Android. (#1077)
    • 👍 Minimum supported Rust version is now 1.31.0 (#1035) (#1095)
    • Now functions statfs() and fstatfs() return result with Statfs wrapper (#928)

    🛠 Fixed

    • Enabled sched_yield for all nix hosts. (#1090)

    ✂ Removed


Previous changes from v0.14.1

  • ➕ Added

    • Macros exported by nix may now be imported via use on the Rust 2018 edition without importing helper macros on Linux targets. (#1066)

    For example, in Rust 2018, the ioctl_read_bad! macro can now be imported without importing the convert_ioctl_res! macro.

      use nix::ioctl_read_bad;
    
      ioctl_read_bad!(tcgets, libc::TCGETS, libc::termios);
    

    🔄 Changed

    • 🔄 Changed some public types from reexports of libc types like uint32_t to the native equivalents like u32. (#1072)

    🛠 Fixed

    • 🛠 Fix the build on Android and Linux/mips with recent versions of libc. (#1072)

    ✂ Removed