#cargo #mono #cargo-subcommand #publish #git

app cargo-mono

Cargo subcommand to manage mono repository

16 releases

0.3.6 Oct 16, 2023
0.3.1 Dec 28, 2021
0.2.4 Oct 11, 2021
0.2.3 May 18, 2021
0.0.0 Jul 31, 2020

#289 in Cargo plugins

Download history 2/week @ 2023-08-10 12/week @ 2023-08-17 13/week @ 2023-08-24 12/week @ 2023-08-31 15/week @ 2023-09-07 1/week @ 2023-09-21 5/week @ 2023-09-28 59/week @ 2023-10-05 70/week @ 2023-10-12 13/week @ 2023-10-19 33/week @ 2023-10-26 5/week @ 2023-11-02 1/week @ 2023-11-09 14/week @ 2023-11-16

53 downloads per month


580 lines


Mono repository for cargo.


cargo install cargo-mono


cargo mono bump (interactive)

cargo mono bump -i

cargo mono bump

cargo mono bump swc_common --breaking

This will bump version of swc_common and its dependants. --breaking is optional, and if omitted, only patch (according to semver) of specified crate is bumped.

Even if it's not a breaking change, you may want to bump dependants along with it. If so, you can use -D like

cargo mono bump swc_common -D

The command above will bump version of swc_common and its dependants. Requirements of dependants packages will be updated too.

cargo mono publish

cargo mono publish

The command defaults to publishing all publishable crates.

Publishing only some of crates

cargo mono publish swc_ecmascript

This command will publish dependencies of swc_ecmascript first and swc_ecmascript.

When only dependencies are changed

swc_ecmascript rexports swc_ecma_transforms and Cargo.toml of swc_ecmascript specifies

swc_ecma_transforms = "0.1"

When you made a small change to swc_ecma_transforms and do not want to change version of swc_ecmascript, you can do

cargo mono publish --allow-only-deps swc_ecmascript


~1M SLoC