]> git.lizzy.rs Git - rust.git/blob - src/tools/rustc-workspace-hack/Cargo.toml
Rollup merge of #104732 - WaffleLapkin:from_def_idn't, r=compiler-errors
[rust.git] / src / tools / rustc-workspace-hack / Cargo.toml
1 [package]
2 name = "rustc-workspace-hack"
3 version = "1.0.0"
4 license = 'MIT OR Apache-2.0'
5 description = """
6 Hack for the compiler's own build system
7 """
8 edition = "2021"
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 [target.'cfg(windows)'.dependencies.winapi]
17 version = "0.3"
18 features = [
19   "accctrl",
20   "aclapi",
21   "basetsd",
22   "cfg",
23   "consoleapi",
24   "errhandlingapi",
25   "evntrace",
26   "fibersapi",
27   "handleapi",
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   "winnt",
66   "winreg",
67   "winsock2",
68   "winuser",
69   "ws2def",
70   "ws2ipdef",
71   "ws2tcpip",
72 ]
73
74 [dependencies]
75 bstr = { version = "0.2.17", features = ["default"] }
76 clap = { version = "3.1.1", features = ["derive", "clap_derive"]}
77 curl-sys = { version = "0.4.13", features = ["http2", "libnghttp2-sys"], optional = true }
78 # Ensure `extra_traits` of libc, which is used transitively by Cargo.
79 libc = { version = "0.2", features = ["extra_traits"] }
80 # Ensure default features of libz-sys, which are disabled in some scenarios.
81 libz-sys = { version = "1.1.2" }
82 # Ensure default features of regex, which are disabled in some scenarios.
83 regex = { version = "1.5.6" }
84 serde_json = { version = "1.0.31", features = ["raw_value", "unbounded_depth"] }
85 syn = { version = "1", features = ['full', 'visit'] }
86 url = { version = "2.0", features = ['serde'] }
87 # Ensure default features of rand, which are disabled in some scenarios.
88 rand = { version = "0.8.5" }
89
90 [target.'cfg(not(windows))'.dependencies]
91 openssl = { version = "0.10.35", optional = true }
92
93 [features]
94 all-static = ['openssl/vendored', 'curl-sys/static-curl', 'curl-sys/force-system-lib-on-osx']