Re:Was Rust Worth It?
by epage on Wednesday October 25, 2023 @10:53PM
(#38021139)
I find this interersting as most namespacing solutions would need the cargo team involved and I've heard nothing about this.
[ Parent
| on HN ]
Re:Was Rust Worth It?
by bluejekyll on Wednesday October 25, 2023 @11:57PM
(#38021446)
This was my first thought too. And there are a lot of questions that will get asked, like, will all crate library names start being prefixed as well? So you end up with
use::bar; // changing to
use::foo::bar;
I assume the library names that can be overridden in cargo would still be accepted, and then it all gets a little messy. The transition would be very messy.