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]
56 "threadpoollegacyapiset",
74 bstr = { version = "0.2.17", features = ["default"] }
75 byteorder = { version = "1", features = ['default', 'std'] }
76 clap = { version = "3.1.1", features = ["derive", "clap_derive"]}
77 curl-sys = { version = "0.4.13", features = ["http2", "libnghttp2-sys"], optional = true }
78 crossbeam-utils = { version = "0.8.0", features = ["nightly"] }
79 libc = { version = "0.2.79", features = ["align"] }
80 # Ensure default features of libz-sys, which are disabled in some scenarios.
81 libz-sys = { version = "1.1.2" }
82 # The only user of memchr's deprecated `use_std` feature is `combine`, so this can be
83 # removed if/when https://github.com/Marwes/combine/pull/348 is merged and released.
84 memchr = { version = "2.5", features = ["std", "use_std"] }
85 # Ensure default features of regex, which are disabled in some scenarios.
86 regex = { version = "1.5.6" }
87 proc-macro2 = { version = "1", features = ["default"] }
88 quote = { version = "1", features = ["default"] }
89 rand_core_0_5 = { package = "rand_core", version = "0.5.1", features = ["getrandom", "alloc", "std"] }
90 serde = { version = "1.0.82", features = ['derive'] }
91 serde_json = { version = "1.0.31", features = ["raw_value", "unbounded_depth"] }
92 smallvec = { version = "1.8.1", features = ['union', 'may_dangle'] }
93 syn = { version = "1", features = ['fold', 'full', 'extra-traits', 'visit', 'visit-mut'] }
94 url = { version = "2.0", features = ['serde'] }
96 [target.'cfg(not(windows))'.dependencies]
97 openssl = { version = "0.10.35", optional = true }
100 all-static = ['openssl/vendored', 'curl-sys/static-curl', 'curl-sys/force-system-lib-on-osx']