]> git.lizzy.rs Git - rust.git/blob - src/tools/rustc-workspace-hack/Cargo.toml
Adjust rustc-workspace-hack
[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 OR Apache-2.0'
6 description = """
7 Hack for the compiler's own build system
8 """
9 edition = "2018"
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 [target.'cfg(windows)'.dependencies.winapi]
18 version = "0.3"
19 features = [
20   "basetsd",
21   "consoleapi",
22   "errhandlingapi",
23   "ioapiset",
24   "jobapi",
25   "jobapi2",
26   "knownfolders",
27   "libloaderapi",
28   "lmcons",
29   "memoryapi",
30   "minschannel",
31   "minwinbase",
32   "namedpipeapi",
33   "ntdef",
34   "ntsecapi",
35   "ntstatus",
36   "objbase",
37   "processenv",
38   "processthreadsapi",
39   "profileapi",
40   "psapi",
41   "schannel",
42   "securitybaseapi",
43   "shellapi",
44   "shlobj",
45   "sspi",
46   "synchapi",
47   "sysinfoapi",
48   "threadpoollegacyapiset",
49   "timezoneapi",
50   "userenv",
51   "winbase",
52   "wincon",
53   "wincrypt",
54   "winsock2",
55   "ws2def",
56   "ws2ipdef",
57   "ws2tcpip",
58 ]
59
60 [dependencies]
61 curl-sys = { version = "0.4.13", features = ["http2", "libnghttp2-sys"], optional = true }
62 crossbeam-utils = { version = "0.6.5", features = ["nightly"] }
63 serde = { version = "1.0.82", features = ['derive'] }
64 serde_json = { version = "1.0.31", features = ["raw_value"] }
65 smallvec = { version = "0.6", features = ['union', 'may_dangle'] }
66 url = { version = "2.0", features = ['serde'] }
67 syn = { version = "0.15", features = ['full'] }
68
69 [target.'cfg(not(windows))'.dependencies]
70 openssl = { version = "0.10.12", optional = true }
71
72
73 [features]
74 all-static = ['openssl/vendored', 'curl-sys/static-curl', 'curl-sys/force-system-lib-on-osx']