AWS CodeArtifact now supports Cargo, the Rust package manager

Posted on: Jun 20, 2024

Today, AWS announces the general availability of Cargo support in CodeArtifact. Crates, which are used to distribute Rust libraries, can now be stored in CodeArtifact.

Cargo, the package manager for the Rust programming language, can be used to publish and download crates from CodeArtifact repositories. Developers can configure CodeArtifact to fetch crates from crates.io, the Rust community’s crate hosting service. When Cargo is connected to a CodeArtifact repository, CodeArtifact will automatically fetch requested crates from crates.io and store them in the CodeArtifact repository. By storing both private first-party crates and public, third-party crates in CodeArtifact, developers can access their critical application dependencies from a single source.

CodeArtifact support for Cargo is available in all 13 CodeArtifact regions.

To learn more, see AWS CodeArtifact.