GitHub shouldn't be a dependency for publishing Rust on crates.io
- Open Source
- Security
- Programming
- Developer Tools
- Infrastructure
The post is about a longstanding design choice in Rust’s package registry, crates.io: you need GitHub as the identity provider to publish crates there. That does not mean crates are hosted on GitHub or that Cargo resolves packages through GitHub the way some ecosystems do. Crates.io distributes source code itself, Cargo can use alternate registries or vendored dependencies, and the GitHub tie is specifically about account identity and publishing rights. That narrower framing changed the tone. The issue is still seen as worth fixing, but not as proof that Rust packaging is fundamentally more GitHub-bound than Go or npm.
If you rely on Rust packaging, treat GitHub login as a known operational and governance risk rather than a surprise, and watch the crates.io auth work now in progress. More broadly, separate "source hosting," "package distribution," and "identity" in your own developer infrastructure so one vendor cannot block the whole workflow.
- infosec.exchange
- Discuss on HN