External Publication
Visit Post

[Pre-RFC] DNS domains as package namespaces

Rust Internals [Unofficial] April 28, 2026
Source
jmillikin: > A namespace is part of the package name but is not part of the crate name Never meant that. I do mean a separate part that clearly is not part of the crate name (e.g. separated by / or @ in Cargo.toml). Nor does it (have to) appear in the imports (see ps from SkyFire13). When I said prefix I meant from the viewpoint of dependencies in Cargo.toml, where it is a prefix to a string. In the background: Sure can be called/named without the prefix/namespace if that doesn't result in naming conflicts.

Discussion in the ATmosphere

Loading comments...