Skip to content

Releases: cargo-bins/jobslot

v0.2.10

01 Mar 12:48
Compare
Choose a tag to compare

What's Changed

  • Support --jobserver-auth=fifo:/path/to/fifo in Client::from_env on unix by @weihanglo and @NobodyXu (rust-lang#49 #34)
  • Use env::var_os to support non utf-8 char in Client::from_env on unix by @NobodyXu (#35 #37)
  • Add new API for creating jobserver and run cmds with the named fifo on unix by @NobodyXu (#36 #38)
    • Impl new fn Client::new_with_fifo
    • Impl Client::configure_and_run_with_fifo
    • Impl Client::configure_make_and_run_with_fifo
  • Improve windows::Client::new impl by @NobodyXu (#39)
    • Use u128 for the random int in the name for named semaphore in windows::Client::new to minimize possibility of collision.
    • Format the int as hex in windows::Client::new to reduce size of the name for the named semaphore.
    • Replace String with Box<str> in windows::Client.

Full Changelog: v0.2.9...v0.2.10

v0.2.9

26 Feb 09:11
Compare
Choose a tag to compare

What's Changed

  • Bump msrv to 1.54 since building jobslot for MacOS 12 on rustc 1.52 and 1.53 failed by @NobodyXu in #33
  • Update windows-sys requirement from 0.42.0 to 0.45.0 by @dependabot in #32

New Contributors

Full Changelog: v0.2.8...v0.2.9

v0.2.8

23 Nov 14:54
Compare
Choose a tag to compare

What's Changed

  • Add new fn Client::available to find out how many client tokens are unused by @olofj and @NobodyXu in #31

Full Changelog: v0.2.7...v0.2.8

Acknowledgement

PR #31, which is included in this release, uses code written by @olofj

v0.2.7

23 Nov 13:58
Compare
Choose a tag to compare

What's Changed

  • Replace winapi with offical crate windows-sys v0.42.0 by @NobodyXu in #27
  • Optimize windows::Client::new: Avoid repeated String creation by @NobodyXu in #28
  • Update comment in unix::Client::acquire by @NobodyXu in #29

Full Changelog: v0.2.6...v0.2.7

v0.2.6

13 Sep 06:55
Compare
Choose a tag to compare

What's Changed

  • Fix leaking on unix: Revert to using pre_exec to unset CLO_EXEC by @NobodyXu in #25

Full Changelog: v0.2.5...v0.2.6

v0.2.5

12 Sep 07:06
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.2.4...v0.2.5

v0.2.4

10 Sep 10:37
4da665e
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.2.3...v0.2.4

v0.2.3

10 Sep 09:28
fe92262
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.2.2...v0.2.3

v0.2.2

09 Sep 10:52
7239949
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.2.1...v0.2.2

v0.2.1

09 Sep 07:57
912d038
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.2.0...v0.2.1