- `extern crate` is logically a crate-internal magic `pub mod` or `pub use`
- You should usually put your `extern crate`s in the crate root
- Putting these two together, you can refer to crates as if they were toplevel modules.
This is one of the very common confusions I've seen.
- `extern crate` is logically a crate-internal magic `pub mod` or `pub use`
- You should usually put your `extern crate`s in the crate root
- Putting these two together, you can refer to crates as if they were toplevel modules.
This is one of the very common confusions I've seen.