External Publication
Visit Post

[Pre-RFC] DNS domains as package namespaces

Rust Internals [Unofficial] April 28, 2026
Source

Can't we allow them to set the library name to "opt out" of namespacing? You could them have a crate parent and a crate parent::child with library name child that just gets imported as child not as parent::child.

Heck maybe even require opt-in xor opt-out so whether the package is included in the namespace is explicit.

Discussion in the ATmosphere

Loading comments...