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.
ssh2
Imprecise dependency requirement bitflags = 2
Cargo does not always pick latest versions of dependencies! Specify the version as
bitflags = "2.9.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 = ["network-programming"]
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.
Using outdated edition for no reason
We estimate that this crate requires at least Rust 1.63, which is newer than the last 2015-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.
libssh2-sys
Missing categories
Categories improve browsing of lib.rs and crates.io. Add
categories = ["authentication"]
to theCargo.toml
.Missing keywords
Help users find your crates. Add
keywords = ["ssh2", "libssh2", "libssh2-sys", "ssh2-rs"]
(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.No readme property
Specify path to a
README
file for the project, so that information about is included in the crates.io tarball.Published crate contains binary files
The crate contains binary files (obscure autoconf code). Crates are meant to be compiled from source. Please check that you haven't published temporary build files by accident. If you have test fixtures, consider excluding them from crates-io tarball, since Cargo doesn't run tests from crates-io packages.
ihex_ext
Missing categories
Categories improve browsing of lib.rs and crates.io. Add
categories = ["…"]
to theCargo.toml
.Dependency thiserror 1.0.2 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.Latest stable release is old
It's been over 3 years. Is this crate still maintained? Make a new release, either to refresh it, or to set
[badges.maintenance] status = "deprecated"
(or
"as-is"
,"passively-maintained"
).Users pay attention to the latest release date. Even if the crate is perfectly fine as-is, users may not know that.
Missing keywords
Help users find your crates. Add
keywords = ["ihex", "ext", "ihex-ext"]
(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.
dts_viewer
Incorrect dependency requirement device_tree_source = ^0.2
We could not parse it. Please check the semver syntax.
Cargo used to be more forgiving about the semver syntax, so it's possible that an already-published crate doesn't satisfy the current rules.
Latest stable release is old
It's been over 7 years. Is this crate still maintained? Make a new release, either to refresh it, or to set
[badges.maintenance] status = "deprecated"
(or
"as-is"
,"passively-maintained"
).If the crate is truly stable, why not make a 1.0.0 release?
Dependency clap ^2 is outdated
Consider upgrading to 4.5.37 to get all the fixes and improvements.
Dependency mktemp ^0.3 is outdated
Consider upgrading to 0.5.1 to get all the fixes and improvements.
In Cargo, different 0.x versions are considered incompatible, so this is a semver-major upgrade.
Imprecise dependency requirement clap = ^2
Cargo does not always pick latest versions of dependencies! Specify the version as
clap = "4.5.37"
. 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.Missing keywords
Help users find your crates. Add
keywords = ["viewer", "dts-viewer", "dts"]
(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.
xbee_s2c
Dependency arraydeque ^0.4 is significantly outdated
Upgrade to 0.5.1 to get all the fixes, and avoid causing duplicate dependencies in projects.
Dependency arrayvec ^0.4 is significantly outdated
Upgrade to 0.7.6 to get all the fixes, and avoid causing duplicate dependencies in projects.
Latest stable release is old
It's been over 6 years. Is this crate still maintained? Make a new release, either to refresh it, or to set
[badges.maintenance] status = "deprecated"
(or
"as-is"
,"passively-maintained"
).Dependency bitflags ^1.0 is outdated
Upgrade to 2.9.0 to get all the fixes, and avoid causing duplicate dependencies in projects.
Dependency embedded-hal 0.2.1 is a bit outdated
Consider upgrading to 1.0.0 to get all the fixes and improvements.
Dependency nb 0.1.1 is outdated
Consider upgrading to 1.1.0 to get all the fixes and improvements.
Missing categories
Categories improve browsing of lib.rs and crates.io. Add
categories = ["hardware-support"]
to theCargo.toml
.Missing keywords
Help users find your crates. Add
keywords = ["s2c", "xbee-s2c", "xbee", "firmware"]
(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.
cfap_screen
Latest stable release is old
It's been over 6 years. Is this crate still maintained? Make a new release, either to refresh it, or to set
[badges.maintenance] status = "deprecated"
(or
"as-is"
,"passively-maintained"
).It's an opportunity to update it to the current Rust edition.
Dependency embedded-hal ^0.2.1 is a bit outdated
Consider upgrading to 1.0.0 to get all the fixes and improvements.
Dependency nb ^0.1.1 is outdated
Consider upgrading to 1.1.0 to get all the fixes and improvements.
Missing keywords
Help users find your crates. Add
keywords = ["screen", "cfap-screen", "cfap"]
(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.
device_tree_source
Dependency nom ^3.0 is significantly outdated
Upgrade to 8.0.0 to get all the fixes, and avoid causing duplicate dependencies in projects.
Latest stable release is old
It's been over 7 years. Is this crate still maintained? Make a new release, either to refresh it, or to set
[badges.maintenance] status = "deprecated"
(or
"as-is"
,"passively-maintained"
).Missing keywords
Help users find your crates. Add
keywords = ["dts-viewer", "tree", "devices-tree"]
(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.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.
cfap_screen, dts_viewer, device_tree_source, xbee_s2c
The Cargo package has no git commit information
Before publishing a package, make sure all packaged files are committed to the repository, and there are no "dirty" files. Push this commit to crate's public repository.
To protect against supply chain attacks similar to CVE-2024-3094, lib.rs will soon start flagging non-reproducible packages without public source code as suspicious. Currently only git repositories are supported (but may be hosted anywhere, not just GitHub). If you'd like a different SCM supported, please file a feature request.
ktra_ui
Dependency env_logger 0.8.3 is significantly outdated
Consider upgrading to 0.11.8 to get all the fixes and improvements.
Dependency vergen 3.1.0 is significantly outdated
Consider upgrading to 9.0.6 to get all the fixes and improvements.
Dependency clap 2.33.3 is outdated
Consider upgrading to 4.5.37 to get all the fixes and improvements.
Latest stable release is old
It's been over 3 years. Is this crate still maintained? Make a new release, either to refresh it, or to set
[badges.maintenance] status = "deprecated"
(or
"as-is"
,"passively-maintained"
).
No issues found in: testy_mctestface
If some of these crates are unmaintained and shouldn't be checked, yank them or add [badges.maintenance]
to their
status = "deprecated"Cargo.toml
.