| 1 |
[package] |
| 2 |
name = "cc" |
| 3 |
version = "1.0.97" |
| 4 |
authors = ["Alex Crichton <[email protected]>"] |
| 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.63" |
| 21 |
|
| 22 |
[dependencies] |
| 23 |
jobserver = { version = "0.1.30", default-features = false, optional = true } |
| 24 |
once_cell = { version = "1.19", optional = true } |
| 25 |
|
| 26 |
[target.'cfg(unix)'.dependencies] |
| 27 |
# Don't turn on the feature "std" for this, see https://github.com/rust-lang/cargo/issues/4866 |
| 28 |
# which is still an issue with `resolver = "1"`. |
| 29 |
libc = { version = "0.2.62", default-features = false, optional = true } |
| 30 |
|
| 31 |
[features] |
| 32 |
parallel = ["libc", "jobserver", "once_cell"] |
| 33 |
|
| 34 |
[dev-dependencies] |
| 35 |
tempfile = "3" |
| 36 |
|
| 37 |
[workspace] |
| 38 |
members = [ |
| 39 |
"dev-tools/cc-test", |
| 40 |
"dev-tools/gen-target-info", |
| 41 |
"dev-tools/gen-windows-sys-binding", |
| 42 |
] |