External Publication
Visit Post

[Pre-RFC] DNS domains as package namespaces

Rust Internals [Unofficial] April 30, 2026
Source

I think you'll have a hard time convincing people if that's your stance. Even with namespaces there can only be one json , that won't change. You can have jmillikin.github.io/json , but that's not called json , just like jmillikin_json is not called json .

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

The purpose of namespaces is to allow multiple crates with the same name to have different package names, which is a useful feature for a package registry that tries to be a central place for an entire language's library ecosystem to register packages.

All this argument amounts to is having a nicer way to make distinguishing crate names, but that's not enough motivation for a change this big.

It's not a particularly big change (see the diffstat for the linked branches in the first post) and the value of allowing more people contribute packages to the Rust ecosystem is significant.

Discussion in the ATmosphere

Loading comments...