summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/tests/ui-cargo/multiple_crate_versions/5041_allow_dev_build/Cargo.toml
blob: 278bebbbd9e83db1246f38196a34056be5af99e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Should not lint for dev or build dependencies. See issue 5041.

[package]
name = "multiple_crate_versions"
version = "0.1.0"
publish = false

[workspace]

# One of the versions of winapi is only a dev dependency: allowed
[dependencies]
ctrlc = "=3.1.0"
[dev-dependencies]
ansi_term = "=0.11.0"

# Both versions of winapi are a build dependency: allowed
[build-dependencies]
ctrlc = "=3.1.0"
ansi_term = "=0.11.0"