An implementation of the GNU make jobserver for Rust
jobslot
contains bug fix for Client::configure is unsafejobslot
removed use of signal handling in the helper thread on unixjobslot
useswindows-sys
on windows instead of manually declaring bindings (some of the bindings seem to be wrong)jobslot
usesgetrandom
on windows instead of making homebrew one using raw windows apijobslot::Client::from_env
can be called any number of times on Windows and Unix.
First, add this to your Cargo.toml
:
[dependencies]
jobslot = "0.2"
This crate uses getrandom
v0.2.7 on windows.
If you want to use this crate in rustc, make sure to bump getrandom
to v0.2
to avoid pulling in different major versions of the same crate.
This project is licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in jobslot by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.