Hacker News new | ask | show | jobs
by keeperofdakeys 3400 days 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.
1 comments

You don't need different syntax. Just prefix all non carte imports with your own crate name.