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`.
18 # Currently Cargo/RLS depend on `failure` which depends on `synstructure` which
19 # enables this feature. Clippy, however, does not depend on anything that
20 # enables this feature. Enable it unconditionally.
21 syn = { version = "0.15", features = ['extra-traits'] }
23 [target.'cfg(windows)'.dependencies.winapi]
49 "threadpoollegacyapiset",
58 curl-sys = { version = "0.4.13", features = ["http2", "libnghttp2-sys"], optional = true }
59 parking_lot = { version = "0.7", features = ['nightly'] }
60 rand = { version = "0.6.1", features = ["i128_support"] }
61 serde = { version = "1.0.82", features = ['derive'] }
62 serde_json = { version = "1.0.31", features = ["raw_value"] }
63 smallvec = { version = "0.6", features = ['union', 'may_dangle'] }
64 scopeguard = { version = "0.3.3", features = ["use_std", "default"]}
65 byteorder = { version = "1.2.7", features = ["i128"]}
68 [target.'cfg(not(windows))'.dependencies]
69 openssl = { version = "0.10.12", optional = true }
73 all-static = ['openssl/vendored', 'curl-sys/static-curl', 'curl-sys/force-system-lib-on-osx']