I'm new to rust and I'm trying to do some projects to learn language better. A lot of libraries on
use library::prelude::* statements. My question is, do I pay compile time cost for importing entire prelude, or just for parts I use in code? Should I import stuff I am using in this file, or should I import entire prelude? In C languages, importing
*.h file is attaching header to compile unit, but I can't find info how does it work in Rust.