Sign in

Cathal

@cathal.dev
141 followers 584 following 10 posts

(it's pronounced ka-hill) Developer from Derry, Currently working on github.com/SwornSystems 123456789009909800090345678900980123456789009800001023456789009900500012345678900234567800090009009123456789009809

PostsRepliesMedia
Cathal @cathal.dev · 03/12/2025
Latest `cargo-shear` release now uses `miette` for its output, and has some new diagnostics around optional dependencies. cargo-shear: Detect and fix unused/misplaced dependencies in Rust projects crates.io/crates/cargo... #rust #rustlang
Screenshot of a `cargo-shear` lint warning showing an unused optional dependency. The warning shows `rustls` is declared as an optional dependency, but is not used in code. It has 2 attached notes. The first note warns that removing an optional dependency may be a breaking change. The second note shows that `rustls` is referenced by a feature definition.
0131