fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1[package] 2name = "bootstrap" 3version = "0.0.0" 4edition = "2021" 5build = "build.rs" 6default-run = "bootstrap" 7 8[lib] 9path = "lib.rs" 10doctest = false 11 12[[bin]] 13name = "bootstrap" 14path = "bin/main.rs" 15test = false 16 17[[bin]] 18name = "rustc" 19path = "bin/rustc.rs" 20test = false 21 22[[bin]] 23name = "rustdoc" 24path = "bin/rustdoc.rs" 25test = false 26 27[[bin]] 28name = "sccache-plus-cl" 29path = "bin/sccache-plus-cl.rs" 30test = false 31 32[dependencies] 33build_helper = { path = "../tools/build_helper" } 34cmake = "0.1.38" 35filetime = "0.2" 36cc = "1.0.69" 37libc = "0.2" 38hex = "0.4" 39object = { version = "0.32.0", default-features = false, features = ["archive", "coff", "read_core", "unaligned"] } 40serde = "1.0.137" 41# Directly use serde_derive rather than through the derive feature of serde to allow building both 42# in parallel and to allow serde_json and toml to start building as soon as serde has been built. 43serde_derive = "1.0.137" 44serde_json = "1.0.2" 45sha2 = "0.10" 46tar = "0.4" 47termcolor = "1.2.0" 48toml = "0.5" 49ignore = "0.4.10" 50opener = "0.5" 51once_cell = "1.7.2" 52xz2 = "0.1" 53walkdir = "2" 54 55# Dependencies needed by the build-metrics feature 56sysinfo = { version = "0.26.0", optional = true } 57clap = { version = "4.2.4", default-features = false, features = ["std", "usage", "help", "derive", "error-context"] } 58clap_complete = "4.2.2" 59semver = "1.0.17" 60 61# Solaris doesn't support flock() and thus fd-lock is not option now 62[target.'cfg(not(target_os = "solaris"))'.dependencies] 63fd-lock = "3.0.8" 64 65[target.'cfg(windows)'.dependencies.junction] 66version = "1.0.0" 67 68[target.'cfg(windows)'.dependencies.windows] 69version = "0.46.0" 70features = [ 71 "Win32_Foundation", 72 "Win32_Security", 73 "Win32_System_Diagnostics_Debug", 74 "Win32_System_JobObjects", 75 "Win32_System_ProcessStatus", 76 "Win32_System_Threading", 77 "Win32_System_Time", 78] 79 80[dev-dependencies] 81pretty_assertions = "1.4" 82 83[features] 84build-metrics = ["sysinfo"] 85 86# We care a lot about bootstrap's compile times, so don't include debuginfo for 87# dependencies, only bootstrap itself. 88[profile.dev] 89debug = 0 90 91[profile.dev.package] 92# Only use debuginfo=1 to further reduce compile times. 93bootstrap.debug = 1