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

Download history 10/week @ 2024-01-05 2/week @ 2024-02-02 7/week @ 2024-02-16 9/week @ 2024-02-23 3/week @ 2024-03-01 6/week @ 2024-03-08 3/week @ 2024-03-15 174/week @ 2024-03-22 48/week @ 2024-03-29 7/week @ 2024-04-05

229 downloads per month

MIT/Apache

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