News for hackers. Stuff that matters.
Re:Writing a Microservice in Rust by pmeunier on Friday March 09, 2018 @11:28AM (#16552836)
Sounds great! One thing I've always had trouble with is detecting unused dependencies. If a project grows fast, it's easy to leave some unused modules in Cargo.toml. At least, matching them with their `extern crate` counterpart helps detect unused ones, by relying on rustc for the check.
Re:Writing a Microservice in Rust by steveklabnik on Friday March 09, 2018 @12:01PM (#16553074)
Great!

While that would make you unnecessarily build the dependency the first time, it at least wouldn't be in your final binary, since everything would be unused. That said, we could still warn about it anyway, even without extern crate.