2 unstable releases

0.2.0 Aug 2, 2022
0.1.0 Jul 25, 2022
0.0.0 Jul 23, 2022

#65 in #cargo-workspace

MIT license

32KB
801 lines

Cargo-ws-manage

Crates.io Docs.rs Crates.io Crates.io Github.com Github.com

Cargo-ws-manage is a command line tool written in rust and is made for an easier and faster way of handling cargo workspaces. Becaues of the 'cargo-' prefix, it can be used as a sub-command of cargo with cargo ws-manage.

Getting started

For installation, run:

cargo install cargo-ws-manage

It can then be used with:

cargo ws-manage # -h for help

To remove it, run:

cargo uninstall cargo-ws-manage

How to use it

Create a new workspace:

To create a completely new workspace run the following command and supply the name of the project and optionally the name of the workspace directory:

cargo ws-manage new foo bar

Follow the instructions on the screen and then you will get a new workspace called foo in the directory bar.

Planned features

There is not much to see currently, but these are some of the features that are to be added in the future:

  • add crates

  • remove crates

  • pass cargo commands to all crates (like cargo fmt, cargo add, cargo publish, ...)

  • ...

Dependencies

~2–2.7MB
~51K SLoC