← Rule catalog

Cargo health · Reliability

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

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.

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 .

Set it once in rust-doctor.toml

Other Reliability rules