Issues found
Based on crates you own that have been published to crates.io. The best way to monitor these issues is to subscribe to the atom feed in your RSS reader.
sfz
Dependency async-compression 0.3.7 is significantly outdated
Consider upgrading to 0.4.21 to get all the fixes and improvements.
In Cargo, different 0.x versions are considered incompatible, so this is a semver-major upgrade.
Dependency clap 3 is significantly outdated
Consider upgrading to 4.5.32 to get all the fixes and improvements.
Easy way to bump dependencies:
cargo install cargo-edit; cargo upgrade -i
; Also check out Dependabot service on GitHub.Dependency headers 0.3 is a bit outdated
Consider upgrading to 0.4.0 to get all the fixes and improvements.
Dependency hyper 0.14.20 is outdated
Consider upgrading to 1.6.0 to get all the fixes and improvements.
Dependency zip 0.6 is outdated
Consider upgrading to 2.4.0 to get all the fixes and improvements.
Imprecise dependency requirement bytes = 1
Cargo does not always pick latest versions of dependencies! Specify the version as
bytes = "1.10.0"
. IfCargo.lock
ends up having an unexpectedly old version of the dependency, you might get a dependency that lacks features/APIs or important bugfixes that you depend on. This is most likely to happen when using theminimal-versions
flag, used by users of old Rust versions.If you want to keep using truly minimal dependency requirements, please make sure you test them in CI with
-Z minimal-versions
Cargo option, because it's very easy to accidentally use a feature added in a later version.License MIT/Apache-2.0 is not in SPDX syntax
Use
OR
instead of/
.
repackage
Dependency cargo_toml 0.15 is significantly outdated
Upgrade to 0.22.1 to get all the fixes, and avoid causing duplicate dependencies in projects.
Dependency toml 0.7 is significantly outdated
Upgrade to 0.8.20 to get all the fixes, and avoid causing duplicate dependencies in projects.
Imprecise dependency requirement anyhow = 1
Cargo does not always pick latest versions of dependencies! Specify the version as
anyhow = "1.0.97"
. IfCargo.lock
ends up having an unexpectedly old version of the dependency, you might get a dependency that lacks features/APIs or important bugfixes that you depend on. This is most likely to happen when using theminimal-versions
flag, used by users of old Rust versions.This crate does not bump semver-minor when adding new features, so to be safe you get all the features/APIs/fixes that your crate depends on, require a more specific patch version.
Using outdated edition for no reason
We estimate that this crate requires at least Rust 1.64, which is newer than the last 2018-edition compiler. You can upgrade without breaking any compatibility. Run
cargo fix --edition
and updateedition="…"
inCargo.toml
.Using the latest edition helps avoid old quirks of the compiler, and ensures Rust code has consistent syntax and behavior across all projects.
weihanglo-publish-test
README missing from crate tarball
Cargo sometimes fails to package the
README
file. Ensure the path to theREADME
inCargo.toml
is valid, and points to a file inside the crate's directory.Crate is 'reserved'
Please be respectful of crates.io and don't squat crate names.
It's OK if you intend to publish this project in the near future. Keep in mind that even if you have good intentions, things may not go as planned. crates.io won't reclaim abandoned crates, so reserving good names may end up wasting the good names.
If some of these crates are unmaintained and shouldn't be checked, yank them or add [badges.maintenance]
to their
status = "deprecated"Cargo.toml
.