carapace-bin icon indicating copy to clipboard operation
carapace-bin copied to clipboard

cargo completer

Open rsteube opened this issue 4 years ago • 0 comments

Command

cargo

Description

Cargo is the Rust package manager. Cargo downloads your Rust package’s dependencies, compiles your packages, makes distributable packages, and uploads them to crates.io, the Rust community’s package registry.

Homepage

https://github.com/rust-lang/cargo

Documentation

https://doc.rust-lang.org/cargo/

Repository

https://github.com/rust-lang/cargo

Complexity

L

Anything else?

No response

Tasks

common commands

  • [x] build, b Compile the current package
  • [x] check, c Analyze the current package and report errors, but don't build object files
  • [x] clean Remove the target directory
  • [x] doc Build this package's and its dependencies' documentation
  • [x] new Create a new cargo package
  • [x] init Create a new cargo package in an existing directory
  • [x] run, r Run a binary or example of the local package
  • [x] test, t Run the tests
  • [x] bench Run the benchmarks
  • [x] update Update dependencies listed in Cargo.lock
  • [x] search Search registry for crates
  • [x] publish Package and upload this package to the registry
  • [x] install Install a Rust binary. Default location is $HOME/.cargo/bin
  • [x] uninstall Uninstall a Rust binary

installed commands:

  • [x] fetch Fetch dependencies of a package from the network
  • [x] fix Automatically fix lint warnings reported by rustc
  • [ ] generate-lockfile Generate the lockfile for a package
  • [ ] git-checkout This subcommand has been removed
  • [ ] locate-project Print a JSON representation of a Cargo.toml file's location
  • [ ] login Save an api token from the registry locally. If token is not specified, it will be read from stdin.
  • [ ] metadata Output the resolved dependencies of a package, the concrete used versions including overrides, in machine-readable format
  • [ ] owner Manage the owners of a crate on the registry
  • [ ] package Assemble the local package into a distributable tarball
  • [ ] pkgid Print a fully qualified package specification
  • [ ] read-manifest Print a JSON representation of a Cargo.toml manifest.
  • [ ] rustc Compile a package, and pass extra options to the compiler
  • [ ] rustdoc Build a package's documentation, using specified custom flags.
  • [ ] tree Display a tree visualization of a dependency graph
  • [ ] vendor Vendor all dependencies for a project locally
  • [ ] verify-project Check correctness of crate manifest
  • [ ] version Show version information
  • [ ] yank Remove a pushed crate from the index
  • [ ] bloat
  • [x] clippy
  • [x] fmt
  • [ ] miri
  • [x] watch

Polar

Fund with Polar

rsteube avatar Oct 28 '20 17:10 rsteube