Skip to content

Instantly share code, notes, and snippets.

@asears
Last active March 25, 2023 15:51
Show Gist options
  • Save asears/97a2c884b8ec939d4ee0a022066ae6e9 to your computer and use it in GitHub Desktop.
Save asears/97a2c884b8ec939d4ee0a022066ae6e9 to your computer and use it in GitHub Desktop.
Rust commands

rustc --version cargo --version

cargo install cargo-quickinstall

cargo quickinstall gitoxide

The default installation, 'max'

cargo install gitoxide

For smaller binaries and even faster build times that are traded for a less fancy CLI implementation, use lean

or lean-termion respectively.

cargo install gitoxide --no-default-features --features lean

cargo install --git https://github.com/Byron/gitoxide gitoxide

cargo install gitoxide --no-default-features --features max-pure

rustup component add rustfmt --toolchain nightly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment