summary refs log tree commit diff
path: root/src/tools/rustc-workspace-hack/Cargo.toml
blob: 755b172dd1b2cb23e73fc13386e6753784de752b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
[package]
name = "rustc-workspace-hack"
version = "1.0.0"
authors = ["Alex Crichton <alex@alexcrichton.com>"]
license = 'MIT/Apache-2.0'
description = """
Hack for the compiler's own build system
"""

[lib]
path = "lib.rs"

# For documentation about what this is and why in the world these dependencies
# are appearing, see `README.md`.

[build-dependencies]
# Currently Cargo/RLS depend on `failure` which depends on `synstructure` which
# enables this feature. Clippy, however, does not depend on anything that
# enables this feature. Enable it unconditionally.
syn = { version = "0.14", features = ['extra-traits'] }

[target.'cfg(windows)'.dependencies.winapi]
version = "0.3"
features = [
  "basetsd",
  "consoleapi",
  "errhandlingapi",
  "jobapi",
  "jobapi2",
  "lmcons",
  "memoryapi",
  "minschannel",
  "minwinbase",
  "ntsecapi",
  "ntstatus",
  "profileapi",
  "processenv",
  "psapi",
  "schannel",
  "securitybaseapi",
  "shellapi",
  "synchapi",
  "sysinfoapi",
  "timezoneapi",
  "userenv",
  "winbase",
  "wincon",
  "wincrypt",
]