2 name = "rustc-workspace-hack"
4 license = 'MIT OR Apache-2.0'
6 Hack for the compiler's own build system
13 # For documentation about what this is and why in the world these dependencies
14 # are appearing, see `README.md`.
16 [target.'cfg(windows)'.dependencies.winapi]
57 "threadpoollegacyapiset",
75 bstr = { version = "0.2.17", features = ["default"] }
76 clap = { version = "3.1.1", features = ["derive", "clap_derive"]}
77 curl-sys = { version = "0.4.13", features = ["http2", "libnghttp2-sys"], optional = true }
78 # Ensure default features of libz-sys, which are disabled in some scenarios.
79 libz-sys = { version = "1.1.2" }
80 # Ensure default features of regex, which are disabled in some scenarios.
81 regex = { version = "1.5.6" }
82 serde_json = { version = "1.0.31", features = ["raw_value", "unbounded_depth"] }
83 syn = { version = "1", features = ['full', 'visit'] }
84 url = { version = "2.0", features = ['serde'] }
86 [target.'cfg(not(windows))'.dependencies]
87 openssl = { version = "0.10.35", optional = true }
90 all-static = ['openssl/vendored', 'curl-sys/static-curl', 'curl-sys/force-system-lib-on-osx']