rust-lang / jobserver-rs

Apache License 2.0
68 stars 42 forks source link

Add `available` traits to find out how many client tokens are unused #45

Closed olofj closed 2 years ago

olofj commented 2 years ago

Returns amount of tokens in the read-side pipe (number of jobs that could be started).

alexcrichton commented 2 years ago

Looks reasonable to me, thanks!

olofj commented 2 years ago

Thanks! @alexcrichton, any chance you can cut a new release sometime soon, so I don't have to reference the git URL in my Cargo.toml to pull it in?

alexcrichton commented 2 years ago

Sure thing, done now.