summaryrefslogtreecommitdiff
path: root/Cargo.toml
AgeCommit message (Collapse)Author
2020-07-26Raise libc dependecy to 0.2.73Alan Somers
2020-07-03Skip the OFD locks tests on OverlayFS and muslAlan Somers
OFD lock functions don't work as expected on overlayfs, which is a type of union file system. And OVERLAYFS_SUPER_MAGIC isn't defined on musl, at least not yet.
2020-05-31Fix test_ptymaster_drop after PR #1098Alan Somers
This test cannot be compiled under Redox. PR #1098 attempted to disable it for Redox, but actually disabled it everywhere. AFAICT, Cargo has no syntax to conditionally enable a target, except based on features. Instead, use conditional compilation within the test.
2020-05-31Convert the crate to edition 2018Alan Somers
2020-05-17Remove more unsupported functions and make it possible to run testsXavier L'Heureux
2020-05-17Replace void crate with Rust standard lib Infallible typeOssi Herrala
std::convert::Infallible has been available since Rust 1.34 and nix currently targets Rust 1.36 or later so this should not cause problems. Fixes #1238
2020-05-02Add UnixCredentials support on FreeBSD/DragonFly (cmsgcred/SCM_CREDS)Greg V
2020-04-25Support UDP GSO and GRO on linuxGleb Pomykalov
2020-04-21Add the MAP_HUGE_<SIZE> flags for linux.GuillaumeDIDIER
Closes #1194 Use git libc for development (Remember to reset this to released version for the next nix release, once libc has released >=0.2.69)
2020-03-17Update libc to 0.2.68Andre Nathan
2020-02-11Provide clearenv()John Gallagher
2020-02-03Release 0.17.0Alan Somers
2019-12-23Raise the minimum version of bitflags to 1.1Alan Somers
This prevents warnings about "try! is deprecated" when using the latest compiler and -Zminimal_versions.
2019-12-23Release v0.16.1Alan Somers
2019-12-01Release v0.16.0Alan Somers
2019-09-20Relax some dependency versionsAlex Touchet
2019-08-10Release v0.15.0Alan Somers
2019-07-09Merge #1085bors[bot]
1085: Minimal versions r=asomers a=asomers Build test with -Zminimal-versions in CI. Co-authored-by: Alan Somers <asomers@gmail.com>
2019-06-30Restrict tempfile to < 3.0.9Alan Somers
tempfile release 3.0.9 raised the MSRV without a minor version bump. See https://github.com/Stebalien/tempfile/issues/100
2019-06-11Raise the cfg-if dependency to 1.0.2Alan Somers
1.0.2 adds the ability to omit the else clause, a feature we use.
2019-06-09Enable libc extra_traits featureBryant Mairs
Also bump Rust requirement to 1.25 which is a requirement of that feature
2019-06-06Start the next dev cycleAlan Somers
2019-06-06Release v0.14.1Alan Somers
2019-06-06Restrict rand dependency to < 0.7Alan Somers
The rand team briefly published (and then yanked) release 0.7.0, which raises the MSRV to 1.32.0, breaking some of our tests. This commit restricts rand to < 0.7 so we won't run into that problem again.
2019-06-06Fix the is_so_mark_functional test in Linux containersAlan Somers
It's not sufficient to check for root privileges. In a container, the euid may be root even though the user lacks some capabilities. Replace this test's root check with a check for the CAP_NET_ADMIN capability instead.
2019-06-02Update libc dependency to 0.2.57Alan Somers
There were some breaking changes between 0.2.55 and 0.2.57. Now Nix will only work with the later version.
2019-05-21Release v0.14.0Alan Somers
2019-02-12Bump the rand dependency to 0.6Alan Somers
Also, bump the tempfile dependency so it will be using the same version of rand. Fixes #1026
2019-01-15Start the next dev cycleAlan Somers
2019-01-15Prepare for release 0.13.0Alan Somers
2018-11-28Restore the libc dependency to the git version post-releaseAlan Somers
2018-11-28Bump version to 0.12.0Alan Somers
2018-11-27Fix libc at 0.2.44 in preparation for releaseAlan Somers
2018-11-05Require Rust 1.24.1Bryant Mairs
lazy_static as of 1.2 requires Rust 1.24.1, so make that our minimum required version
2018-11-02exclude more CI files from crates.ioIgor Gnatenko
2018-09-05Update to rand 0.5 cratePascal Bach
This avoids having both 0.4 and 0.5 (required by tempfile)
2018-09-01deps: update tempfile to 3Igor Gnatenko
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2018-06-02Start the next dev cycleBryant Mairs
2018-06-02Specify bytes versionBryant Mairs
2018-06-01Set the 0.11 releaseBryant Mairs
2018-04-07Merge #872bors[bot]
872: Change sys::aio::lio_listio to sys::aio::LioCb::listio r=asomers a=asomers The new LioCb structure allows us to control the exact arguments passed to lio_listio, guaranteeing that each call gets a unique storage location for the list argument. This prevents clients from misusing lio_listio in a way that causes events to get dropped from a kqueue Fixes #870
2018-04-06Add LioCb::listio_resubmitAlan Somers
It helps deal with errors like EAGAIN, which can result in a subset of an LioCb's operations being queued. The test is only enabled on FreeBSD, because it requires intimate knowledge of AIO system limits.
2018-03-28Replace the gcc crate by ccBastien Orivel
2018-03-22Replace AioCb::from_bytes with more generic from_boxed_sliceAlan Somers
Supporting the bytes crate was unnecessarily specific. This change replaces from_bytes and from_bytes_mut with from_boxed_slice and from_boxed_mut_slice, which can work with anything that implements Borrow<[u8]> and BorrowMut<[u8]>, respectively.
2018-01-27Cargo.toml: don't exclude test filesIgor Gnatenko
Those are pretty useful for distributions to verify that crate actually work.
2018-01-26Bump version to 0.11.0-preAlan Somers
2018-01-26Bump version to 0.10.0Alan Somers
2018-01-21Fix libc at 0.2.36 in preparation for releaseAlan Somers
2018-01-15aio: use `Bytes` instead of `Rc<[u8]>`Alan Somers
It's not actually safe to read into an `Rc<[u8]>`. It only worked because of a coincidental `unsafe` block. Replace that type with `BytesMut` from the bytes crate. For consistency's sake, use `Bytes` for writing too, and completely remove methods relating to `Rc<[u8]>`. Note that the `AioCb` will actually own the `BytesMut` object. The caller must call `into_buffer` to get it back once the I/O is complete. Fixes #788
2018-01-01bump rand to 0.4Igor Gnatenko