← All stories
● Covered by 1 source · 1 reportMedium impact

Crates.io Adds Code Viewer and Decouples Accounts from GitHub

New to BrevFeed? We gather this story from every outlet covering it into one summary — ranked by real-world impact, not just the latest headline — so you never miss what matters. What is BrevFeed? →

Key points

  • New Code tab for browsing crate content on crates.io.
  • Decoupling of crates.io accounts from GitHub.
  • Future support for multiple identity providers planned.

New Code Viewer Feature

The crates.io platform has added a 'Code' tab on crate pages that allows users to browse the exact files corresponding to published crate versions. This feature aids in auditing dependencies by showing files that may not be linked in the repository, such as generated Cargo.toml files.

The viewer includes a sidebar with a file tree, search functionality, syntax highlighting, and GitHub-like line selection for sharing specific code lines.

Server Improvements

To support the code viewing functionality, crates.io now builds a zip archive for each published version, enhancing access to files. This architecture ensures minimal load on the crates.io API servers while still allowing access to older crate versions.

Decoupling from GitHub

Crates.io has initiated a shift from relying solely on GitHub for user accounts, introducing native crates.io usernames. This change is a prerequisite for supporting additional identity provider logins. While the implementation is underway, users will gain the ability to customize their crates.io usernames in the future.

✨ This summary was generated by AI from the outlets' reporting listed below. It is not independently verified and may contain errors — check the original sources. How BrevFeed works →

The daily brief

One email each morning: the day's tech stories, clustered across outlets and summarized. No account needed.

One email a day. Unsubscribe in one click, any time.

Today's brief

Spend a few minutes, get the whole day. Every topic's top stories in one hands-free rundown — listen, watch, or read the transcript.

~4 min · 3 stories · Nov 07

▶ Play today's brief Listen on Spotify

New every morning, and the back catalogue is archived by date.

Reporting from

Crates.io has introduced a new 'Code' tab for browsing crate sources directly on its platform and has started implementing native crates.io usernames. These changes aim to improve auditing of dependencies and enhance user account management.