forked from rust-lang/jobserver-rs
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
87 lines (75 loc) · 2.07 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
[package]
name = "jobslot"
version = "0.2.19"
authors = [
"Jiahao XU <[email protected]>",
"Alex Crichton <[email protected]>",
]
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"
# docs.rs-specific configuration, shamelessly copied from
# https://stackoverflow.com/a/61417700/8375400.
#
# To test locally, use ` ./build_doc.sh`
[package.metadata.docs.rs]
# document all features
all-features = true
# defines the configuration attribute `docsrs`
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]
# Features:
# - std: Implement std-only traits for getrandom::Error
# - rdrand: Enable fallback RDRAND-based implementation on x86/x86_64
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