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

#2862 in Rust patterns

Download history 7/week @ 2024-02-19 63/week @ 2024-02-26 2/week @ 2024-03-04

72 downloads per month
Used in 2 crates

CC0 license

14KB
395 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–12MB
~122K SLoC