cew 0.6.0

Personal Rust utility library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
A personal utility crate.

Adds reexports of `color_eyre`, piping traits (`Pipe`, `Inspect`, `Lay`) and a `block_on` implementation for futures.

Run `cew::init()` to initialize `color_eyre`

`cew::R` is short for `color_eyre::Result`

`cew::U` is short for `color_eyre::Result<()>`

`cew::e!(..)` is short for `color_eyre::eyre::eyre!(..)`

`cew::me!(..)` is short for `Err(color_eyre::eyre::eyre!(..))`

The `Pipe`, `Inspect`, and `Lay` traits provide functions to reduce the amount of stacked parenthesis in long method chains.