Coder Social home page Coder Social logo

jobslot's Introduction

jobslot

An implementation of the GNU make jobserver for Rust

CI

Crates.io

Documentation

Advantages over jobserver?

  • jobslot contains bug fix for Client::configure is unsafe
  • jobslot removed use of signal handling in the helper thread on unix
  • jobslot uses windows-sys on windows instead of manually declaring bindings (some of the bindings seem to be wrong)
  • jobslot uses getrandom on windows instead of making homebrew one using raw windows api
  • jobslot::Client::from_env can be called any number of times on Windows and Unix.

Usage

First, add this to your Cargo.toml:

[dependencies]
jobslot = "0.2"

Use of this crate in rustc

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.

License

This project is licensed under either of

at your option.

Contribution

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.

jobslot's People

Contributors

alexanderkjall avatar alexcrichton avatar andjo403 avatar bjorn3 avatar cuviper avatar dependabot-preview[bot] avatar dependabot[bot] avatar eijebong avatar emilio avatar github-actions[bot] avatar glandium avatar gnzlbg avatar ignatenkobrain avatar ishitatsuyuki avatar malbarbo avatar mark-simulacrum avatar nobodyxu avatar tesuji avatar the8472 avatar vlad-shcherbina avatar zeramorphic avatar

Stargazers

 avatar  avatar

Watchers

 avatar

jobslot's Issues

Publish this crate in a new name

I'd plan to publish this crate in a new name and submit a PR to cc and other dependents to use this crate, which contains various fix and performance optimization (it can use posix_spawn on unix, which could use vfork instead of fork).

What name should we use?
And is there anything we need to be careful?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.