]>
Commit | Line | Data |
---|---|---|
8faf50e0 XL |
1 | [package] |
2 | name = "rustc-workspace-hack" | |
3 | version = "1.0.0" | |
4 | authors = ["Alex Crichton <alex@alexcrichton.com>"] | |
48663c56 | 5 | license = 'MIT OR Apache-2.0' |
8faf50e0 XL |
6 | description = """ |
7 | Hack for the compiler's own build system | |
8 | """ | |
9fa01778 | 9 | edition = "2018" |
8faf50e0 XL |
10 | |
11 | [lib] | |
12 | path = "lib.rs" | |
13 | ||
14 | # For documentation about what this is and why in the world these dependencies | |
15 | # are appearing, see `README.md`. | |
16 | ||
17 | [build-dependencies] | |
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. | |
0731742a | 21 | syn = { version = "0.15", features = ['extra-traits'] } |
8faf50e0 XL |
22 | |
23 | [target.'cfg(windows)'.dependencies.winapi] | |
24 | version = "0.3" | |
25 | features = [ | |
b7449926 XL |
26 | "basetsd", |
27 | "consoleapi", | |
28 | "errhandlingapi", | |
dc9dc135 | 29 | "ioapiset", |
b7449926 XL |
30 | "jobapi", |
31 | "jobapi2", | |
0731742a | 32 | "knownfolders", |
b7449926 | 33 | "lmcons", |
8faf50e0 XL |
34 | "memoryapi", |
35 | "minschannel", | |
8faf50e0 | 36 | "minwinbase", |
dc9dc135 XL |
37 | "namedpipeapi", |
38 | "ntdef", | |
8faf50e0 | 39 | "ntsecapi", |
8faf50e0 | 40 | "ntstatus", |
0731742a | 41 | "objbase", |
b7449926 | 42 | "processenv", |
dc9dc135 XL |
43 | "processthreadsapi", |
44 | "profileapi", | |
8faf50e0 | 45 | "psapi", |
b7449926 XL |
46 | "schannel", |
47 | "securitybaseapi", | |
48 | "shellapi", | |
0731742a | 49 | "shlobj", |
0bf4aa26 | 50 | "sspi", |
b7449926 XL |
51 | "synchapi", |
52 | "sysinfoapi", | |
9fa01778 | 53 | "threadpoollegacyapiset", |
8faf50e0 | 54 | "timezoneapi", |
b7449926 XL |
55 | "userenv", |
56 | "winbase", | |
8faf50e0 | 57 | "wincon", |
b7449926 | 58 | "wincrypt", |
dc9dc135 XL |
59 | "winsock2", |
60 | "ws2def", | |
61 | "ws2ipdef", | |
62 | "ws2tcpip", | |
8faf50e0 | 63 | ] |
0bf4aa26 XL |
64 | |
65 | [dependencies] | |
0731742a | 66 | curl-sys = { version = "0.4.13", features = ["http2", "libnghttp2-sys"], optional = true } |
9fa01778 | 67 | parking_lot = { version = "0.7", features = ['nightly'] } |
532ac7d7 | 68 | rand = { version = "0.6.1", features = ["i128_support"] } |
0731742a XL |
69 | serde = { version = "1.0.82", features = ['derive'] } |
70 | serde_json = { version = "1.0.31", features = ["raw_value"] } | |
9fa01778 | 71 | smallvec = { version = "0.6", features = ['union', 'may_dangle'] } |
dc9dc135 XL |
72 | scopeguard = { version = "0.3.3", features = ["use_std", "default"] } |
73 | byteorder = { version = "1.2.7", features = ["i128"] } | |
74 | syn = { version = "0.15.35", features = ["extra-traits", "full"] } | |
0731742a | 75 | |
0bf4aa26 XL |
76 | |
77 | [target.'cfg(not(windows))'.dependencies] | |
78 | openssl = { version = "0.10.12", optional = true } | |
79 | ||
80 | ||
81 | [features] | |
a1dfa0c6 | 82 | all-static = ['openssl/vendored', 'curl-sys/static-curl', 'curl-sys/force-system-lib-on-osx'] |