1 | [package] |
2 | name = "cc" |
3 | version = "1.0.90" |
4 | authors = ["Alex Crichton <alex@alexcrichton.com>" ] |
5 | license = "MIT OR Apache-2.0" |
6 | repository = "https://github.com/rust-lang/cc-rs" |
7 | homepage = "https://github.com/rust-lang/cc-rs" |
8 | documentation = "https://docs.rs/cc" |
9 | description = "" " |
10 | A build-time dependency for Cargo build scripts to assist in invoking the native |
11 | C compiler to compile native C code into a static archive to be linked into Rust |
12 | code. |
13 | " "" |
14 | keywords = ["build-dependencies" ] |
15 | readme = "README.md" |
16 | categories = ["development-tools::build-utils" ] |
17 | # The binary target is only used by tests. |
18 | exclude = ["/.github" , "tests" , "src/bin" ] |
19 | edition = "2018" |
20 | rust-version = "1.53" |
21 | |
22 | [dependencies] |
23 | jobserver = { version = "0.1.20" , default-features = false, optional = true } |
24 | |
25 | [target.'cfg(unix)'.dependencies] |
26 | # Don't turn on the feature "std" for this, see https://github.com/rust-lang/cargo/issues/4866 |
27 | # which is still an issue with `resolver = "1"`. |
28 | libc = { version = "0.2.62" , default-features = false, optional = true } |
29 | |
30 | [features] |
31 | parallel = ["libc" , "jobserver" ] |
32 | |
33 | [dev-dependencies] |
34 | tempfile = "3" |
35 | |
36 | [workspace] |
37 | members = [ |
38 | "dev-tools/cc-test" , |
39 | "dev-tools/gen-windows-sys-binding" , |
40 | ] |
41 | |