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