Cargo health · Reliability
Registry dependency accepting any version
rust_doctor::cargo::unbounded_registry_dependency
Replace the unbounded version requirement with the minimum compatible version intended by the project.
- Category
- Reliability
- Default level
- warn
- Tier
- P3
- Producer
- Cargo health
- Diff scope
- line
Not a defect when
The requirement sits in an unpublished internal tool built only with a committed Cargo.lock and --locked, so the lockfile is the real pin and no consumer resolves the open requirement.
What it reads
Cargo.toml, Cargo.lock and .cargo/config.toml.
Tier
Lowest tier: real, and rarely urgent.
The tier bounds how severe a rule may be; its category bounds the tier.Diff scope
The changed line itself.
What--scope contextual looks at to decide whether a change caused the finding.Change it
Turn it off, or make it blocking, without touching the code it flags:
rust-doctor --rule rust_doctor::cargo::unbounded_registry_dependency=off .
rust-doctor --rule rust_doctor::cargo::unbounded_registry_dependency=error .