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