Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Cargo command support

Focus mode
Cargo command support - CodeArtifact

The following sections summarize the Cargo commands that are supported by CodeArtifact repositories, in addition to specific commands that are not supported.

Supported commands that require accessing the registry

This section lists Cargo commands where the Cargo client requires access to the registry it's been configured with. These commands have been verified to function correctly when invoked against a CodeArtifact repository.

Command Description

build

Builds local packages and their dependencies.

check

Checks local packages and their dependencies for errors.

fetch

Fetches the dependencies of a package.

publish

Publishes a package to the registry.

Unsupported commands

These Cargo commands are not supported by CodeArtifact repositories.

Command Description

owner

Manages the owners of the crate on the registry.

search

Searches for packages in the registry.

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.