Debian Codegraph @

debian/rust-vendor/cc/Cargo.toml

raw
1 # THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
2 #
3 # When uploading crates to the registry Cargo will automatically
4 # "normalize" Cargo.toml files for maximal compatibility
5 # with all versions of Cargo and also rewrite `path` dependencies
6 # to registry (e.g., crates.io) dependencies.
7 #
8 # If you are reading this file be aware that the original Cargo.toml
9 # will likely look very different (and much more reasonable).
10 # See Cargo.toml.orig for the original contents.
11
12 [package]
13 edition = "2021"
14 rust-version = "1.65.0"
15 name = "cc"
16 version = "1.4.4"
17 build = false
18 exclude = [
19 "/.github",
20 "src/bin",
21 "tests",
22 ]
23 autolib = false
24 autobins = false
25 autoexamples = false
26 autotests = false
27 autobenches = false
28 description = """
29 A build-time dependency for Cargo build scripts to assist in invoking the native
30 C compiler to compile native C code into a static archive to be linked into Rust
31 code.
32 """
33 homepage = "https://github.com/rust-lang/cc-rs"
34 documentation = "https://docs.rs/cc"
35 readme = "README.md"
36 keywords = ["build-dependencies"]
37 categories = ["development-tools::build-utils"]
38 license = "MIT OR Apache-2.0"
39 repository = "https://github.com/rust-lang/cc-rs"
40
41 [features]
42 jobserver = []
43 parallel = [
44 "dep:jobserver",
45 "dep:libc",
46 ]
47
48 [lib]
49 name = "cc"
50 path = "src/lib.rs"
51
52 [dependencies.find-msvc-tools]
53 version = "0.1.11"
54
55 [dependencies.jobserver]
56 version = "0.1.30"
57 optional = true
58 default-features = false
59
60 [dependencies.shlex]
61 version = "2.0.1"
62
63 [dev-dependencies.tempfile]
64 version = "3"
65
66 [target."cfg(unix)".dependencies.libc]
67 version = "0.2.168"
68 optional = true
69 default-features = false
70
71 [lints.clippy]
72 borrow_as_ptr = "warn"
73 disallowed_methods = "warn"
74 doc_markdown = "warn"
75 manual_let_else = "warn"
76 ptr_as_ptr = "warn"
77 ptr_cast_constness = "warn"
78
79 [lints.rust]
80 missing_docs = "warn"
81
82 [lints.rust.unexpected_cfgs]
83 level = "allow"
84 priority = 0
85 check-cfg = ["cfg(disable_clang_cl_tests)"]
86
87 [profile.release]
88 opt-level = 3
89 lto = true