Boshen / cargo-shear

Detect and remove unused dependencies from Cargo.toml
MIT License
92 stars 5 forks source link

Dev dependency that is only used in doc examples/tests #95

Open konstin opened 1 week ago

konstin commented 1 week ago

In https://github.com/prefix-dev/async_http_range_reader (f65c0c94ca4e3035b8561ee2ff8b1d5221b66abb), cargo shear has a false positive: The dev dependency url is shown as unused, but it is used in a doctest (https://github.com/prefix-dev/async_http_range_reader/blob/f65c0c94ca4e3035b8561ee2ff8b1d5221b66abb/src/lib.rs#L63).