External Publication
Visit Post

[Pre-RFC] DNS domains as package namespaces

Rust Internals [Unofficial] April 30, 2026
Source

jmillikin:

The package jmillikin.github.io/json contains the crate json, whereas the package jmillikin_json contains the crate jmillikin_json.

As already mentioned in this thread you can make the package jmillikin_json contain the crate json. It can be a bit confusing to users, but there's no technical difference between the two. You could get the exact same result by allowing the characters / and . in package names, there's no need to use namespacing for it. Hence there must be some other more important reason for namespacing. My point is that you should focus more on them.

jmillikin:

It's not a particularly big change (see the diffstat for the linked branches in the first post)

It might not be big in code, but it is big in how users interact with crates.io

Discussion in the ATmosphere

Loading comments...