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