]> git.lizzy.rs Git - rust.git/blob - src/bootstrap/Cargo.toml
Auto merge of #104610 - ouz-a:revert-overflow, r=compiler-errors
[rust.git] / src / bootstrap / Cargo.toml
1 [package]
2 name = "bootstrap"
3 version = "0.0.0"
4 edition = "2021"
5 build = "build.rs"
6 default-run = "bootstrap"
7
8 [lib]
9 path = "lib.rs"
10 doctest = false
11
12 [[bin]]
13 name = "bootstrap"
14 path = "bin/main.rs"
15 test = false
16
17 [[bin]]
18 name = "rustc"
19 path = "bin/rustc.rs"
20 test = false
21
22 [[bin]]
23 name = "rustdoc"
24 path = "bin/rustdoc.rs"
25 test = false
26
27 [[bin]]
28 name = "sccache-plus-cl"
29 path = "bin/sccache-plus-cl.rs"
30 test = false
31
32 [[bin]]
33 name = "llvm-config-wrapper"
34 path = "bin/llvm-config-wrapper.rs"
35 test = false
36
37 [dependencies]
38 cmake = "0.1.38"
39 fd-lock = "3.0.8"
40 filetime = "0.2"
41 getopts = "0.2.19"
42 cc = "1.0.69"
43 libc = "0.2"
44 hex = "0.4"
45 object = { version = "0.29.0", default-features = false, features = ["archive", "coff", "read_core", "unaligned"] }
46 serde = { version = "1.0.8", features = ["derive"] }
47 serde_json = "1.0.2"
48 sha2 = "0.10"
49 tar = "0.4"
50 toml = "0.5"
51 ignore = "0.4.10"
52 opener = "0.5"
53 once_cell = "1.7.2"
54 xz2 = "0.1"
55 walkdir = "2"
56
57 # Dependencies needed by the build-metrics feature
58 sysinfo = { version = "0.26.0", optional = true }
59
60 [target.'cfg(windows)'.dependencies.winapi]
61 version = "0.3"
62 features = [
63     "fileapi",
64     "ioapiset",
65     "jobapi2",
66     "handleapi",
67     "winioctl",
68     "psapi",
69     "impl-default",
70     "timezoneapi",
71     "winbase",
72 ]
73
74 [dev-dependencies]
75 pretty_assertions = "0.7"
76
77 [features]
78 build-metrics = ["sysinfo"]
79
80 # We care a lot about bootstrap's compile times, so don't include debuginfo for
81 # dependencies, only bootstrap itself.
82 [profile.dev]
83 debug = 0
84 [profile.dev.package]
85 # Only use debuginfo=1 to further reduce compile times.
86 bootstrap.debug = 1