Relative Content

Tag Archive for rustrust-cargodead-code

How to find dead code in a cargo workspace?

Rust will helpfully warn you if you have non-public functions or other items that are never used in the crate. This is great when developing a single crate, but has issues when you split your program up in multiple crates in a workspace.