[Pre-RFC] DNS domains as package namespaces
Rust Internals [Unofficial]
April 28, 2026
DragonDev1906:
Is there any reason not to be able to use an already published crate as a namespace(parent)? That way we don't need a separate naming system and in many cases this is also what you want (e.g.
tokio-utilcould be attokio@util). In that case namespaces would be more like child-crates (possibly even allowingparent@child@subchildif desired.
Note that there is an already approved rfc for using packages as namespaces but it serves a slightly different role where the packages truly compose into one API. There will be impedance mismatches if used for organizational namespacing, This is covered in the namespacing thread I linked earlier.
Discussion in the ATmosphere