summaryrefslogtreecommitdiff
path: root/Cargo.toml
AgeCommit message (Collapse)Author
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
2017-07-20Remove `homepage` from Cargo.tomlJonas Schievink
It's just a (redundant) link to the repo, not a real homepage. According to the [API guidelines](https://github.com/brson/rust-api-guidelines#cargotoml-includes-all-common-metadata-c-metadata), this shouldn't be set in this case.
2017-07-18Remove broken execvpe implementationBryant Mairs
It was broken when enabled, and currently the libc definition is only available for windows. This will be re-added when a new libc is released that supports it across all available platforms
2017-07-18Remove signalfd feature in favor of conditional compilationBryant Mairs
Note that this is now only available for Linux as support is missing in libc for Android (see rust-lang/libc#671). As part of this work the SIGUSR2 signal mutex was altered to be a general signal mutex. This is because all signal handling is shared across all threads in the Rust test harness, so if you alter one signal, depending on whether it's additive or may overwrite the mask for other signals, it could break the other ones. Instead of putting this on the user, just broaden the scope of the mutex so that any altering of signal handling needs to use it.
2017-07-17Remove preadv_pwritev feature in favor of conditional includeBryant Mairs
2017-07-17Remove eventfd feature in favor of conditional includeBryant Mairs
2017-07-15PtyMaster::drop should panic on EBADFAlan Somers
Also, document the double-close risk with unistd::close Fixes #659
2017-07-07Prepare for the 0.9.0 releaseAlan Somers
Bump the version to 0.9.0-pre Update libc dependency to 0.2.25
2017-06-18Update bitflags to 0.9equal-l2
2017-04-15tests should protect concurrent access to signal handlersAlan Somers
Adds a mutex to protect access to SIGUSR2 signal handlers by the AIO tests. Fixes #578
2017-03-28Cargo.toml: restore upstream libc remoteJörg Thalheim
My previous pull request was merged too early and contained my own libc fork with outstanding pull requests. As the pull requests are now merged, this commit restores the libc git repo.
2017-03-21add support for `fstatat`Jörg Thalheim
2017-03-02Bump to v0.8.1-preKamal Marhubi
2017-03-01Release v0.8.0Kamal Marhubi
closes #519
2017-02-16Update bitflags to 0.7Simon Sapin
2017-01-20Add categories to Cargo.tomlJake Goulding
2016-11-16Get rid of version suffix between versionsPhilipp Matthias Schaefer
2016-10-31Remove `rustc-version` dependency and build scriptAlex Crichton
The script checked for rustc >= 1.6.0, but the minimum supported version for this crate is now 1.7.0
2016-10-24cargo: bump version to 0.8.0-prePaul Osborne
Also, changed author from Carl to being more broad (as we have many contributors and maintainers now). This matches what is used for crates in the rust-lang org. Signed-off-by: Paul Osborne <osbpau@gmail.com>
2016-09-09Bump to 0.7.1-prePhilipp Matthias Schaefer
2016-09-09Release v0.7.0Philipp Matthias Schaefer
2016-07-13Use git master as libc versionSergey Bugaev
2016-06-29Use new libc versionNik Klassen
2016-06-10Bump to v0.6.1-preKamal Marhubi
2016-06-10Bump to v0.6.0Kamal Marhubi