Thanks to visit codestin.com
Credit goes to lib.rs

#cargo #different #removing #ruins

app cargo-ruin

Ruins your project with different options

2 releases

0.0.4 Apr 13, 2025
0.0.3 Apr 13, 2025
0.0.2 Feb 27, 2025
0.0.1 Feb 27, 2025

#253 in Cargo plugins

Codestin Search App

225 downloads per month

Custom license

8KB
126 lines

cargo-ruin

This crate ruins your project by:

  • Replacing ? with unwrap()

  • Replacing expect() with unwrap()

  • Removing all newlines

  • Removing all tabs

Usage

just do

cargo ruin

without arguments does all of the above

but you can also specify arguments as shown in

cargo ruin --help

Why??

i made this crate because i kept typing

cargo ruin

instead of

cargo run

so i made cargo-ruin as a joke.

Inspiration

inspired by this reddit post

Feature suggestions

leave feature suggestions at this reddit post

Dependencies

~3–4.5MB
~81K SLoC