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.
tpbackup
Dependency tokio-fs 0.1.7 has issues
It may not be actively developed any more. Consider changing the dependency.
Published crate doesn't match its repository
Partially verified 12 files (includes 3 Cargo-generated).
Files in the crates.io crate compared to the repository:
Cargo.lock
does not match the repository.
Fetched
https://github.com/akozhemiakin/tpbackup.git
5281040287057ab9deb75ca6526e0fa9379a499d.Checked on 2024-08-10
This check is experimental.
Dependency base64 0.21.2 is outdated
Consider upgrading to 0.22.1 to get all the fixes and improvements.
In Cargo, different 0.x versions are considered incompatible, so this is a semver-major upgrade.
Dependency reqwest 0.11 is outdated
Consider upgrading to 0.12.15 to get all the fixes and improvements.
Dependency thiserror 1.0.44 is a bit outdated
Consider upgrading to 2.0.12 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.Imprecise dependency requirement flate2 = 1
Cargo does not always pick latest versions of dependencies! Specify the version as
flate2 = "1.1.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.Missing categories
Categories improve browsing of lib.rs and crates.io. Add
categories = ["compression"]
to theCargo.toml
.Even if there are no categories that fit precisely, pick one that is least bad. You can also propose new categories in crates.io issue tracker.
Missing keywords
Help users find your crates. Add
keywords = ["utility", "tpbackup", "resources", "com", "stdout"]
(up to 5) to theCargo.toml
. Best keywords are alternative terms or their spellings that aren't in the name or description. Also add a keyword that precisely categorizes this crate and groups it with other similar crates.
akt
Dependency error-stack 0.2.4 is significantly outdated
Upgrade to 0.5.0 to get all the fixes, and avoid causing duplicate dependencies in projects.
Imprecise dependency requirement tokio = 1
Cargo does not always pick latest versions of dependencies! Specify the version as
tokio = "1.45.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.Using outdated edition for no reason
We estimate that this crate requires at least Rust 1.56, 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.
If some of these crates are unmaintained and shouldn't be checked, yank them or add [badges.maintenance]
to their
status = "deprecated"Cargo.toml
.