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