Cargo
cargoRust's package manager and build tool.
Rust's package manager and build tool.
Build, test, run and create Rust packages. Other cargo commands (publish, install, doc, clippy) are left out.
cargo buildCompile a local package and its dependencies.
releasepackageworkspaceworkspacereleaseboolean--release-rstring--package-pstring--featuresboolean--all-featuresboolean--no-default-featurespath--manifest-pathboolean--lockedboolean--offlinecount--verbose-vboolean--workspaceboolean--libstring--binstring--targetcargo testExecute unit and integration tests. Arguments after -- go to the test harness and are not covered.
workspaceno_fail_fasttestnamepackagestring · positional 0boolean--release-rstring--package-pstring--featuresboolean--all-featuresboolean--no-default-featurespath--manifest-pathboolean--lockedboolean--offlinecount--verbose-vboolean--workspaceboolean--libboolean--docboolean--no-runboolean--no-fail-fastcargo runBuild and run a binary or example. Program arguments after -- are not covered.
binreleasestring--binstring--exampleboolean--release-rstring--package-pstring--featuresboolean--all-featuresboolean--no-default-featurespath--manifest-pathboolean--lockedboolean--offlinecount--verbose-vcargo newCreate a new cargo package in a new directory.
pathlibeditionpathbineditionpath · positional 0boolean--libboolean--binstring--namestring--edition201520182021string--vcsgithgpijulfossilnonefigcompletionfigcompletionfigcompletionfigcompletionfigcompletionBefore it fills your prompt, Otty checks the installed cargo against its version. A form that does not match your version is not offered.