3 ms·
They need to live in the same namespace, otherwise you'd practically need different syntax for importing something from a crate, or a module. You can use `exter
by keeperofdakeys 10y ago
They need to live in the same namespace, otherwise you'd practically need different syntax for importing something from a crate, or a module. You can use `extern crate foo as bar`, if you are having namespace issues.
- the_mitsuhiko 10y agoYou don't need different syntax. Just prefix all non carte imports with your own crate name.