[package]
name = "jobslot"
version = "0.2.19"
authors = [
"Jiahao XU <Jiahao_XU@outlook.com>",
"Alex Crichton <alex@alexcrichton.com>",
]
license = "MIT/Apache-2.0"
repository = "https://github.com/cargo-bins/jobslot"
homepage = "https://github.com/cargo-bins/jobslot"
documentation = "https://docs.rs/jobslot"
description = """
An implementation of the GNU make jobserver for Rust
"""
edition = "2018"
rust-version = "1.63.0"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[dependencies]
cfg-if = "1.0.0"
tokio = { version = "1", default-features = false, features = [
"process",
"net",
], optional = true }
scopeguard = "1.1.0"
derive_destructure2 = "0.1.2"
[target.'cfg(any(unix, windows))'.dependencies]
getrandom = { version = "0.2.7", features = ["std", "rdrand"] }
[target.'cfg(unix)'.dependencies]
libc = "0.2.132"
[target.'cfg(windows)'.dependencies]
windows-sys = { version = "0.59.0", features = [
"Win32_System_WindowsProgramming",
"Win32_System_Threading",
"Win32_Foundation",
"Win32_Security",
] }
[dev-dependencies]
tempfile = "3"
tokio = { version = "1.20.0", features = ["full"] }
[[test]]
name = "client"
harness = false
path = "tests/client.rs"
required-features = ["tokio"]
[[test]]
name = "server"
path = "tests/server.rs"
[[test]]
name = "client-of-myself"
path = "tests/client-of-myself.rs"
harness = false
[[test]]
name = "client-dropped-before-command"
path = "tests/client-dropped-before-command.rs"
harness = false
[[test]]
name = "client-dropped-before-command-tokio"
path = "tests/client-dropped-before-command-tokio.rs"
harness = false
required-features = ["tokio"]
[[test]]
name = "make-as-a-client"
path = "tests/make-as-a-client.rs"
harness = false