4 ms·
> The sheer mass of packages Yes. I just noticed that a Rust program I'm working on had acquired a plotter driver crate. A plotter driver? The program has no
by Animats 6mo ago
> The sheer mass of packages
Yes.
I just noticed that a Rust program I'm working on had acquired a plotter driver crate. A plotter driver? The program has no graphical output.
Turns out that "kdtree" has a dev dependency on a profiling library that pulls in a whole graphics system. Even in release mode, I get that, because I have debug symbols turned on, which activated dev dependencies.
Aargh.
- endospore 6mo ago> I have debug symbols turned on, which activated dev dependencies Nope that doesn't happen. It's not compiled into your binary if it's a dev or build dependency. Cargo may have downloaded the crate source according to the lockfile and that's it, it shouldn't build anything unneeded.
- Animats 6mo agoOK, I have to check the binary.