benchExecuteallbenchmarksofalocalpackage
buildCompilealocalpackageandallofitsdependencies
checkCheckalocalpackageandallofitsdependenciesforerrors
cleanRemoveartifactsthatcargohasgeneratedinthepast
docBuildapackage'sdocumentation
fetchFetchdependenciesofapackagefromthenetwork
fixAutomaticallyfixlintwarningsreportedbyrustc
generate-lockfileGeneratethelockfileforapackage
git-checkoutThissubcommandhasbeenremoved
initCreateanewcargopackageinanexistingdirectory
installInstallaRustbinary.Defaultlocationis$HOME/.cargo/bin
locate-projectPrintaJSONrepresentationofaCargo.tomlfile'slocation
loginSaveanapitokenfromtheregistrylocally.Iftokenisnotspecified,itwillbereadfromstdin.
metadataOutputtheresolveddependenciesofapackage,theconcreteusedversionsincludingoverrides,inmachine-readableformat
newCreateanewcargopackageat<path>
ownerManagetheownersofacrateontheregistry
packageAssemblethelocalpackageintoadistributabletarball
pkgidPrintafullyqualifiedpackagespecification
publishUploadapackagetotheregistry
read-manifestPrintaJSONrepresentationofaCargo.tomlmanifest.
runRunabinaryorexampleofthelocalpackage
rustcCompileapackage,andpassextraoptionstothecompiler
rustdocBuildapackage'sdocumentation,usingspecifiedcustomflags.
searchSearchpackagesincrates.io
testExecuteallunitandintegrationtestsandbuildexamplesofalocalpackage
treeDisplayatreevisualizationofadependencygraph
uninstallRemoveaRustbinary
updateUpdatedependenciesasrecordedinthelocallockfile
vendorVendoralldependenciesforaprojectlocally
verify-projectCheckcorrectnessofcratemanifest
versionShowversioninformation
yankRemoveapushedcratefromtheindex
capi
cbuild
cinstall
clippy
ctest
fmt
miri
