]> git.lizzy.rs Git - rust.git/blob - src/tools/rustc-workspace-hack/Cargo.toml
Update Cargo submodule
[rust.git] / src / tools / rustc-workspace-hack / Cargo.toml
1 [package]
2 name = "rustc-workspace-hack"
3 version = "1.0.0"
4 authors = ["Alex Crichton <alex@alexcrichton.com>"]
5 license = 'MIT/Apache-2.0'
6 description = """
7 Hack for the compiler's own build system
8 """
9
10 [lib]
11 path = "lib.rs"
12
13 # For documentation about what this is and why in the world these dependencies
14 # are appearing, see `README.md`.
15
16 [build-dependencies]
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'] }
21
22 [target.'cfg(windows)'.dependencies.winapi]
23 version = "0.3"
24 features = [
25   "basetsd",
26   "consoleapi",
27   "errhandlingapi",
28   "jobapi",
29   "jobapi2",
30   "lmcons",
31   "memoryapi",
32   "minschannel",
33   "minwinbase",
34   "ntsecapi",
35   "ntstatus",
36   "profileapi",
37   "processenv",
38   "psapi",
39   "schannel",
40   "securitybaseapi",
41   "shellapi",
42   "sspi",
43   "synchapi",
44   "sysinfoapi",
45   "timezoneapi",
46   "userenv",
47   "winbase",
48   "wincon",
49   "wincrypt",
50 ]
51
52 [dependencies]
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 }
56
57 [target.'cfg(not(windows))'.dependencies]
58 openssl = { version = "0.10.12", optional = true }
59
60
61 [features]
62 all-static = ['openssl/vendored', 'curl-sys/static-curl', 'curl-sys/force-system-lib-on-osx']