16 releases

Uses old Rust 2015

0.2.0 Jul 7, 2019
0.1.14 May 10, 2018
0.1.12 Aug 3, 2017
0.1.11 May 13, 2017
0.1.5 Jul 17, 2016

#2882 in Rust patterns

Download history 33/week @ 2024-07-22 1/week @ 2024-07-29 5/week @ 2024-09-23 12/week @ 2024-09-30 1/week @ 2024-10-14 52/week @ 2024-11-04

53 downloads per month
Used in 2 crates

CC0 license

14KB
399 lines

brev

Quick and dirty utility functions.

Rust uses explicit error handling, and in most cases this encourages careful coding. However, sometimes you just want to get in, frob some files, and get out, which is where brev comes in.

Brev provides utility functions that allow you to write simple scripts in rust quickly.

Since they don't return errors, they just panic if something goes wrong. For simple scripts that are run interactively, this is might good enough.

And, if you do need to handle errors, you can copy pasta from brev as a starting point.

Dependencies

~2–10MB
~120K SLoC