Home

Awesome

<div class="oranda-hide">

cargo-mommy

</div>

crates.io Rust CI

Mommy's here to support you when running cargo~ ❤️

Installation

You can cargo install cargo-mommy, see the website for more options

Usage

Run whatever cargo command you would normally but add mommy after cargo~

cargo mommy check

    Checking bappy-script v0.1.3
error: expected one of `!` or `::`, found `passes`
  --> src\main.rs:20:6
   |
20 | mods passes;
   |      ^^^^^^ expected one of `!` or `::`

error: could not compile `bappy-script` (bin "bappy-script") due to previous error
mommy knows her little girl can do better~ 💞

See the docs for more options

Configuration

Mommy will read the following environment variables to make her messages better for you~ ❤️

All of these options can take a / separated list. Mommy will randomly select one of them whenever she talks to you~

For example, the phrase "mommy loves her little girl~ 💞" is "CARGO_MOMMYS_ROLE loves CARGO_MOMMYS_PRONOUNS little CARGO_MOMMYS_LITTLE~"

So if you set CARGO_MOMMYS_ROLES="daddy", CARGO_MOMMYS_PRONOUNS="his/their", and CARGO_MOMMYS_LITTLE="boy/pet/baby" then you might get any of

And so on~ 💓

Licensing

mommy likes freedom~ ❤️, and is dual-licensed under MIT and Apache 2.0.

Use either at your choice.