blob: 2affaf9740d9f1c9fb8d1287d19c1636fdb82d96 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
### What it does
Checks for wildcard dependencies in the `Cargo.toml`.
### Why is this bad?
[As the edition guide says](https://rust-lang-nursery.github.io/edition-guide/rust-2018/cargo-and-crates-io/crates-io-disallows-wildcard-dependencies.html),
it is highly unlikely that you work with any possible version of your dependency,
and wildcard dependencies would cause unnecessary breakage in the ecosystem.
### Example
```
[dependencies]
regex = "*"
```
|