• Stars
    star
    747
  • Rank 60,741 (Top 2 %)
  • Language
    Rust
  • License
    Apache License 2.0
  • Created almost 2 years ago
  • Updated 4 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Mommy's here to support you when running cargo~

cargo-mommy

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

Installation

Install cargo-mommy like you would any other cargo extension~

> cargo install cargo-mommy

Usage

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

> cargo mommy test

    Finished test [unoptimized + debuginfo] target(s) in 0.00s
     Running unittests src\main.rs (target\debug\deps\cargo_mommy-3804b5c850d46137.exe)

running 1 test
test test ... FAILED

failures:

---- test stdout ----
thread 'test' panicked at 'oops!!', src\main.rs:26:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace


failures:
    test

test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

error: test failed, to rerun pass `--bin cargo-mommy`

mommy knows her little girl can do better~ ❤️

>_

Configuration

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

  • CARGO_MOMMYS_LITTLE - what to call you~ (default: "girl")
  • CARGO_MOMMYS_PRONOUNS - what pronouns mommy will use for themself~ (default: "her")
  • CARGO_MOMMYS_ROLES - what role mommy will have~ (default "mommy")

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

  • daddy loves their little boy~ ❤️
  • daddy loves his little pet~ ❤️
  • daddy loves their little baby~ ❤️

And so on~ ❤️

More Repositories

1

abi-cafe

Pair your compilers up at The ABI Cafe!
Rust
222
star
2

thin-vec

A Vec That Has a Smaller size_of
Rust
128
star
3

sptr

sptr: The Strict Provenance Polyfill
Rust
76
star
4

collect-rs

Miscellaneous Collections
Rust
64
star
5

thesis

My Master's Thesis??
TeX
63
star
6

rust-datastructures

Various data structure impls in Rust
Rust
43
star
7

kdl-script

Execute KDL files!
Rust
27
star
8

hash-rs

Benchmarks of various hashers
Rust
26
star
9

raw-rs

Utilities for doing unsafe work with the raw representations of data in Rust
Rust
11
star
10

gif-rs

eats a gif, spits out fully decoded frames
Rust
10
star
11

tracing-gui

an experimental gui for inspecting tracing logs
Rust
8
star
12

bappy-script

Just messing around with a toy compiler
Rust
5
star
13

aria-of-borrow

It's a library AND a binary, but at what cost?
Rust
5
star
14

kuriboh

You thought I had only one error, but now I have *many*!
4
star
15

socc-pair

A test harness for testing, debugging, and benchmarking rust-minidump's minidump-stackwalk, and Firefox crash reports.
Rust
3
star
16

tutorial-cbindgen

HTML
3
star
17

testing-linux-apis

just some temp repo for testing linux api availability
C
2
star
18

slug_life-hurts

a terrible package name
Rust
2
star
19

geo-kit

A collection of algorithms and tools for geometric problem solving in HTML5
JavaScript
1
star
20

chrexam

fuck you
TeX
1
star
21

backtrace-ext

minor conveniences on top of the backtrace crate
Rust
1
star
22

cargo-vet-school

This is a project for experimenting with cargo-vet behaviours and features.
Rust
1
star
23

beepypaws

messing with bevy
Rust
1
star
24

evil-workspace

an evil workspace for cargo-dist to deal with
Rust
1
star