mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-30 08:30:45 +00:00
Switch strategies for how rustc's workspace is unioned
See rust-lang/rust#52919 for more details.
This commit is contained in:
parent
b60c887c13
commit
c27cdcaf71
1 changed files with 5 additions and 40 deletions
45
Cargo.toml
45
Cargo.toml
|
@ -45,46 +45,6 @@ clippy_lints = { version = "0.0.212", path = "clippy_lints" }
|
||||||
regex = "1"
|
regex = "1"
|
||||||
semver = "0.9"
|
semver = "0.9"
|
||||||
|
|
||||||
# Not actually needed right now but required to make sure that clippy/ and cargo build
|
|
||||||
# with the same set of features in rust-lang/rust
|
|
||||||
num-traits = "0.2" # enable the default feature
|
|
||||||
backtrace = "0.3"
|
|
||||||
|
|
||||||
# keep in sync with `cargo`'s `Cargo.toml'
|
|
||||||
[target.'cfg(windows)'.dependencies.winapi]
|
|
||||||
version = "0.3"
|
|
||||||
features = [
|
|
||||||
# keep in sync with `cargo`'s `Cargo.toml'
|
|
||||||
"handleapi",
|
|
||||||
"jobapi",
|
|
||||||
"jobapi2",
|
|
||||||
"minwindef",
|
|
||||||
"ntdef",
|
|
||||||
"ntstatus",
|
|
||||||
"processenv",
|
|
||||||
"processthreadsapi",
|
|
||||||
"psapi",
|
|
||||||
"synchapi",
|
|
||||||
"winerror",
|
|
||||||
"winbase",
|
|
||||||
"wincon",
|
|
||||||
"winnt",
|
|
||||||
# no idea where these come from
|
|
||||||
"basetsd",
|
|
||||||
"lmcons",
|
|
||||||
"memoryapi",
|
|
||||||
"minschannel",
|
|
||||||
"minwinbase",
|
|
||||||
"ntsecapi",
|
|
||||||
"profileapi",
|
|
||||||
"schannel",
|
|
||||||
"securitybaseapi",
|
|
||||||
"synchapi",
|
|
||||||
"sysinfoapi",
|
|
||||||
"timezoneapi",
|
|
||||||
"wincrypt",
|
|
||||||
]
|
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
cargo_metadata = "0.5"
|
cargo_metadata = "0.5"
|
||||||
compiletest_rs = "0.3.7"
|
compiletest_rs = "0.3.7"
|
||||||
|
@ -94,6 +54,11 @@ clippy-mini-macro-test = { version = "0.2", path = "mini-macro" }
|
||||||
serde = "1.0"
|
serde = "1.0"
|
||||||
derive-new = "0.5"
|
derive-new = "0.5"
|
||||||
|
|
||||||
|
# A noop dependency that changes in the Rust repository, it's a bit of a hack.
|
||||||
|
# See the `src/tools/rustc-workspace-hack/README.md` file in `rust-lang/rust`
|
||||||
|
# for more information.
|
||||||
|
rustc-workspace-hack = "1.0.0"
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
rustc_version = "0.2.2"
|
rustc_version = "0.2.2"
|
||||||
ansi_term = "0.11"
|
ansi_term = "0.11"
|
||||||
|
|
Loading…
Reference in a new issue