Include!("my_crate.rs"); vs extern crate my_crate;
The Rust Programming Language Forum
Include!("my_crate.rs"); vs extern crate my_crate;
I'm relatively new to Rust, therefore I'm still learning. I started form isolating a sharebale code in crates. But since a crate gets recompiled at any its code change, I started simply using macro include! . Do I do right, or veterans of Rut programing recommend using external crates over?
0 comments
No comments yet.