From 5b8f98279a095defd60eca62ec23c751ebab2b80 Mon Sep 17 00:00:00 2001 From: krtbgb <kurtbugbee@gmail.com> Date: Thu, 17 Jun 2021 16:17:06 -0400 Subject: [PATCH 1/3] add cargo commands to the readme --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index c1d428b8..d5e053e5 100644 --- a/README.md +++ b/README.md @@ -58,6 +58,22 @@ NeoBundle 'rust-lang/rust.vim' ## Features +* `:Cargo` +* `:Cbuild:` Compile the current package +* `:Ccheck:` Analyze the current package and report errors, but don't build object files +* `:Cclean:` Remove the target directory +* `:Cdoc:` Build this package's and its dependencies' documentation +* `:Cnew` Create a new cargo package +* `:Cinit` Create a new cargo package in an existing directory +* `:Crun` Run a binary or example of the local package +* `:Ctest` Run the tests +* `:Cbench` Run the benchmarks +* `:Cupdate` Update dependencies listed in Cargo.lock +* `:Csearch` Search registry for crates +* `:Cpublish` Package and upload this package to the registry +* `:Cinstall` Install a Rust binary. Default location is $HOME/.cargo/bin +* `:Cruntarget` Run with specified target + ### Error checking with [Syntastic][syn] `rust.vim` automatically registers `cargo` as a syntax checker with From 3e289ca2213eb3b52581a12ad954da57c8e0f0c1 Mon Sep 17 00:00:00 2001 From: krtbgb <kurtbugbee@gmail.com> Date: Thu, 17 Jun 2021 16:18:07 -0400 Subject: [PATCH 2/3] remove unnecessary colons --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index d5e053e5..5049b3e3 100644 --- a/README.md +++ b/README.md @@ -59,10 +59,10 @@ NeoBundle 'rust-lang/rust.vim' ## Features * `:Cargo` -* `:Cbuild:` Compile the current package -* `:Ccheck:` Analyze the current package and report errors, but don't build object files -* `:Cclean:` Remove the target directory -* `:Cdoc:` Build this package's and its dependencies' documentation +* `:Cbuild` Compile the current package +* `:Ccheck` Analyze the current package and report errors, but don't build object files +* `:Cclean` Remove the target directory +* `:Cdoc` Build this package's and its dependencies' documentation * `:Cnew` Create a new cargo package * `:Cinit` Create a new cargo package in an existing directory * `:Crun` Run a binary or example of the local package From a954b30d38e30837a0168b9d77e2e80f72e96025 Mon Sep 17 00:00:00 2001 From: krtbgb <kurtbugbee@gmail.com> Date: Thu, 17 Jun 2021 16:24:02 -0400 Subject: [PATCH 3/3] add heading --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 5049b3e3..86dd5941 100644 --- a/README.md +++ b/README.md @@ -58,6 +58,7 @@ NeoBundle 'rust-lang/rust.vim' ## Features +### Manage packages with [Cargo][cargo] * `:Cargo` * `:Cbuild` Compile the current package * `:Ccheck` Analyze the current package and report errors, but don't build object files @@ -143,6 +144,7 @@ LICENSE-MIT for details. [vp]: https://github.com/junegunn/vim-plug [d]: https://github.com/Shougo/dein.vim [rfmt]: https://github.com/rust-lang-nursery/rustfmt +[cargo]: https://doc.rust-lang.org/cargo/commands/cargo.html [syn]: https://github.com/scrooloose/syntastic [tgbr]: https://github.com/majutsushi/tagbar [uctags]: https://ctags.io