]> git.lizzy.rs Git - rust.git/blob - src/bootstrap/Cargo.toml
Rollup merge of #105570 - Nilstrieb:actual-best-failure, 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 [dependencies]
33 cmake = "0.1.38"
34 fd-lock = "3.0.8"
35 filetime = "0.2"
36 getopts = "0.2.19"
37 cc = "1.0.69"
38 libc = "0.2"
39 hex = "0.4"
40 object = { version = "0.29.0", default-features = false, features = ["archive", "coff", "read_core", "unaligned"] }
41 serde = { version = "1.0.8", features = ["derive"] }
42 serde_json = "1.0.2"
43 sha2 = "0.10"
44 tar = "0.4"
45 toml = "0.5"
46 ignore = "0.4.10"
47 opener = "0.5"
48 once_cell = "1.7.2"
49 xz2 = "0.1"
50 walkdir = "2"
51
52 # Dependencies needed by the build-metrics feature
53 sysinfo = { version = "0.26.0", optional = true }
54
55 [target.'cfg(windows)'.dependencies.winapi]
56 version = "0.3"
57 features = [
58     "fileapi",
59     "ioapiset",
60     "jobapi2",
61     "handleapi",
62     "winioctl",
63     "psapi",
64     "impl-default",
65     "timezoneapi",
66     "winbase",
67 ]
68
69 [dev-dependencies]
70 pretty_assertions = "1.2"
71
72 [features]
73 build-metrics = ["sysinfo"]
74
75 # We care a lot about bootstrap's compile times, so don't include debuginfo for
76 # dependencies, only bootstrap itself.
77 [profile.dev]
78 debug = 0
79 [profile.dev.package]
80 # Only use debuginfo=1 to further reduce compile times.
81 bootstrap.debug = 1