2 name = "rustc-workspace-hack"
4 authors = ["Alex Crichton <alex@alexcrichton.com>"]
5 license = 'MIT/Apache-2.0'
7 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`.
17 # Currently Cargo/RLS depend on `failure` which depends on `synstructure` which
18 # enables this feature. Clippy, however, does not depend on anything that
19 # enables this feature. Enable it unconditionally.
20 syn = { version = "0.14", features = ['extra-traits'] }
22 [target.'cfg(windows)'.dependencies.winapi]
53 serde_json = { version = "1.0.31", features = ["raw_value"] }
54 rand = { version = "0.5.5", features = ["i128_support"] }
55 curl-sys = { version = "0.4.13", optional = true }
57 [target.'cfg(not(windows))'.dependencies]
58 openssl = { version = "0.10.12", optional = true }
62 all-static = ['openssl/vendored', 'curl-sys/static-curl', 'curl-sys/force-system-lib-on-osx']