2 name = "rustc-workspace-hack"
4 authors = ["Alex Crichton <alex@alexcrichton.com>"]
5 license = 'MIT OR Apache-2.0'
7 Hack for the compiler's own build system
14 # For documentation about what this is and why in the world these dependencies
15 # are appearing, see `README.md`.
17 [target.'cfg(windows)'.dependencies.winapi]
51 "threadpoollegacyapiset",
64 byteorder = { version = "1", features = ['default', 'std'] }
65 curl-sys = { version = "0.4.13", features = ["http2", "libnghttp2-sys"], optional = true }
66 crossbeam-utils = { version = "0.7.2", features = ["nightly"] }
67 libc = { version = "0.2.79", features = ["align"] }
68 # Ensure default features of libz-sys, which are disabled in some scenarios.
69 libz-sys = { version = "1.1.2" }
70 proc-macro2 = { version = "1", features = ["default"] }
71 quote = { version = "1", features = ["default"] }
72 serde = { version = "1.0.82", features = ['derive'] }
73 serde_json = { version = "1.0.31", features = ["raw_value", "unbounded_depth"] }
74 smallvec-0_6 = { package = "smallvec", version = "0.6.14", features = ['union', 'may_dangle'] }
75 smallvec = { version = "1.6.1", features = ['union', 'may_dangle'] }
76 syn = { version = "1", features = ['fold', 'full', 'extra-traits', 'visit', 'visit-mut'] }
77 url = { version = "2.0", features = ['serde'] }
79 [target.'cfg(not(windows))'.dependencies]
80 openssl = { version = "0.10.12", optional = true }
83 all-static = ['openssl/vendored', 'curl-sys/static-curl', 'curl-sys/force-system-lib-on-osx']