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