summaryrefslogtreecommitdiff
path: root/Cargo.toml
AgeCommit message (Collapse)Author
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
2017-12-19Merge #799bors[bot]
799: Fix nix on Dragonfly r=Susurrus a=mneumann This commit replaces pull request https://github.com/nix-rust/nix/pull/684. It fixes building `nix` on DragonFly. All tests pass. This requires most recent libc to build: https://github.com/rust-lang/libc/pull/851.
2017-12-19Fix support for DragonFlyMichael Neumann
* DragonFly does not have a O_DSYNC flag * Fix type_of_cmsg_data on DragonFly * No fexecve() on DragonFly * Do not run aio test cases on DragonFly * Keep target lists in alphabetical order * Unscrable #[cfg] directives and use cfg_if! macro instead * Fix errno on DragonFly Below follows an explanation why we have to use a C extension to get errno working on DragonFly: DragonFly uses a thread-local errno variable, but #[thread_local] is feature-gated and not available in stable Rust as of this writing (Rust 1.21.0). We have to use a C extension (src/errno_dragonfly.c) to access it. Tracking issue for `thread_local` stabilization: https://github.com/rust-lang/rust/issues/29594 Once this becomes stable, we can remove build.rs, src/errno_dragonfly.c, remove the build-dependency from Cargo.toml, and use: extern { #[thread_local] static errno: c_int; } Now all targets will use the build.rs script, but only on DragonFly this will do something. Also, there are no additional dependencies for targets other than DragonFly (no gcc dep).
2017-12-05Remove nix-test subcrateBryant Mairs
This was doing testing for errno constants and a few other types that is no longer necessary now that these types are all tested within the libc project itself.
2017-12-02Upgrade to Bitflags 1.0Bryant Mairs
The libc_bitflags! macro was replaced with a non-recursive one supporting only public structs. I could not figure out how to make the old macro work with the upgrade, so I reworked part of the bitflags! macro directly to suit our needs, much as the original recursive macro was made. There are no uses of this macro for non-public structs, so this is not a problem for internal code.
2017-12-01bump lazy_static to 1Igor Gnatenko
2017-11-13Remove deploy.shBryant Mairs
This script is a remnant from when generating docs was part of the publishing process. With docs.rs generating docs for all packages, this is no longer necessary. Additionally this script has been incorrect for a long time since nix moved from carllerche/nix to nix-rust/nix.
2017-09-03AioCb::Drop will now panic for in-progress AioCbAlan Somers
Printing a warning message to stderr isn't really appropriate, because there's no way to guarantee that stderr is even valid. Nor is aio_suspend necessarily an appropriate action to take.
2017-07-23Bump version to 0.10.0-preAlan Somers
2017-07-23Release 0.9.0Alan Somers
2017-07-20Merge pull request #697 from jonas-schievink/rm-homepageAlan Somers
Remove `homepage` from Cargo.toml