fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #69854 - pietroalbini:stable-next, r=Centrilb8cedc00407

1.42.0
1.7 KiB75 linesraw
1[package]
2name = "rustc-workspace-hack"
3version = "1.0.0"
4authors = ["Alex Crichton <alex@alexcrichton.com>"]
5license = 'MIT OR Apache-2.0'
6description = """
7Hack for the compiler's own build system
8"""
9edition = "2018"
10
11[lib]
12path = "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]
18version = "0.3"
19features = [
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]
61curl-sys = { version = "0.4.13", features = ["http2", "libnghttp2-sys"], optional = true }
62crossbeam-utils = { version = "0.6.5", features = ["nightly"] }
63serde = { version = "1.0.82", features = ['derive'] }
64serde_json = { version = "1.0.31", features = ["raw_value"] }
65smallvec-0_6 = { package = "smallvec", version = "0.6", features = ['union', 'may_dangle'] }
66smallvec = { version = "1.0", features = ['union', 'may_dangle'] }
67url = { version = "2.0", features = ['serde'] }
68syn = { version = "0.15", features = ['full', 'extra-traits'] }
69
70[target.'cfg(not(windows))'.dependencies]
71openssl = { version = "0.10.12", optional = true }
72
73
74[features]
75all-static = ['openssl/vendored', 'curl-sys/static-curl', 'curl-sys/force-system-lib-on-osx']