1 unstable release

0.1.0 Nov 8, 2022

#7 in #deref-mut

Download history 516/week @ 2023-11-20 635/week @ 2023-11-27 322/week @ 2023-12-04 485/week @ 2023-12-11 158/week @ 2023-12-18 145/week @ 2023-12-25 404/week @ 2024-01-01 111/week @ 2024-01-08 94/week @ 2024-01-15 126/week @ 2024-01-22 258/week @ 2024-01-29 382/week @ 2024-02-05 234/week @ 2024-02-12 129/week @ 2024-02-19 147/week @ 2024-02-26 450/week @ 2024-03-04

981 downloads per month
Used in 4 crates (via ori-core)

MIT/Apache

7KB
97 lines

Deref Derive

Crates.io Documentation

A tiny crate that helps reducing boilerplate with Deref and DerefMut derive macros.


lib.rs:

A tiny crate that provides #[derive(Deref)] and #[derive(DerefMut)].

While this in unidiomatic to implement Deref for wrapper types. It can be useful and sees widespread use in the community. Therefore, this crate provides a macro to derive Deref and DerefMut for you to help reduce boilerplate.

Dependencies

~1.5MB
~34K SLoC