7 releases (breaking)
new 0.6.0 | Apr 25, 2024 |
---|---|
0.5.1 | Mar 27, 2024 |
0.4.0 | Feb 5, 2024 |
0.3.0 | Jan 8, 2024 |
0.1.0 | Dec 1, 2023 |
#921 in Rust patterns
229 downloads per month
8KB
141 lines
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.
Dependencies
~3.5–5MB
~91K SLoC