Buck2hubBuck2hub

Migrate

Migrate existing Cargo packages

SYNOPSIS

cargo buckal migrate [options]

DESCRIPTION

Seamlessly migrate existing Cargo packages to Buck2.

This command is used to either migrate an existing Cargo project to Buck2 for the first time (with the --init option) or to synchronize the dependency graphs between Cargo and Buck2 after manually modifying Cargo.toml.

OPTIONS

  • --no-cache Do not use cached data from previous runs.
  • --merge Merge manual edits with generated content.
  • --init [<PATH>] Migrate with buck2 initialized in the specified path (defaults to current directory).
  • --fetch Fetch latest bundles from remote repository.