Cargo command support - CodeArtifact

Cargo command support

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.