Crates.io has introduced a new Code tab for browsing published crate versions and is untangling account identities from GitHub. This update simplifies dependency audits and paves the way for broader login options, improving overall usability.
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.
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.
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 β
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.