Rust Issue With Dependencies
-
Junichi Uekawa: Lots of Windows dependencies in Debian Rust packages.
Lots of Windows dependencies in Debian Rust packages. As cargo tries to check even the optional dependencies exist, Debian has lots of rust packages that are not needed on Debian platforms. I would think it would be okay to have a stub that mirrors the version number but nothing else, but...
-
Matthew Palmer: dev-dependencies and Rust's unused_crate_dependencies lint
I’m in the process of getting super-strict about the code quality of cretrit, the comparison-revealing encryption library that underlies the queryable encryption of the Enquo project. While I’m going to write a whole big thing about Rust linting in the future, I bumped across a rather gnarly problem that I thought was worth sharing separately. The problem, in short, is that the
unused_crate_dependencies
lint interacts badly with crates that are only needed for benchmarking, such as (in my case)criterion
.