]> git.lizzy.rs Git - rust.git/blob - src/tools/rustc-workspace-hack/Cargo.toml
Auto merge of #83723 - cjgillot:ownernode, r=petrochenkov
[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   "accctrl",
21   "aclapi",
22   "basetsd",
23   "cfg",
24   "consoleapi",
25   "errhandlingapi",
26   "evntrace",
27   "fibersapi",
28   "in6addr",
29   "inaddr",
30   "ioapiset",
31   "jobapi",
32   "jobapi2",
33   "knownfolders",
34   "libloaderapi",
35   "lmcons",
36   "memoryapi",
37   "minschannel",
38   "minwinbase",
39   "mstcpip",
40   "mswsock",
41   "namedpipeapi",
42   "ntdef",
43   "ntsecapi",
44   "ntstatus",
45   "objbase",
46   "processenv",
47   "processthreadsapi",
48   "profileapi",
49   "psapi",
50   "schannel",
51   "securitybaseapi",
52   "shellapi",
53   "shlobj",
54   "sspi",
55   "synchapi",
56   "sysinfoapi",
57   "threadpoollegacyapiset",
58   "timezoneapi",
59   "userenv",
60   "winbase",
61   "wincon",
62   "wincrypt",
63   "windef",
64   "winioctl",
65   "winsock2",
66   "ws2def",
67   "ws2ipdef",
68   "ws2tcpip",
69 ]
70
71 [dependencies]
72 bstr = { version = "0.2.13", features = ["default"] }
73 byteorder = { version = "1", features = ['default', 'std'] }
74 curl-sys = { version = "0.4.13", features = ["http2", "libnghttp2-sys"], optional = true }
75 crossbeam-utils = { version = "0.8.0", features = ["nightly"] }
76 libc = { version = "0.2.79", features = ["align"] }
77 # Ensure default features of libz-sys, which are disabled in some scenarios.
78 libz-sys = { version = "1.1.2" }
79 proc-macro2 = { version = "1", features = ["default"] }
80 quote = { version = "1", features = ["default"] }
81 rand_core_0_5 = { package = "rand_core", version = "0.5.1", features = ["getrandom", "alloc", "std"] }
82 serde = { version = "1.0.82", features = ['derive'] }
83 serde_json = { version = "1.0.31", features = ["raw_value", "unbounded_depth"] }
84 smallvec = { version = "1.6.1", features = ['union', 'may_dangle'] }
85 syn = { version = "1", features = ['fold', 'full', 'extra-traits', 'visit', 'visit-mut'] }
86 url = { version = "2.0", features = ['serde'] }
87
88 [target.'cfg(not(windows))'.dependencies]
89 openssl = { version = "0.10.35", optional = true }
90
91 [features]
92 all-static = ['openssl/vendored', 'curl-sys/static-curl', 'curl-sys/force-system-lib-on-osx']