1 unstable release

0.1.0 Nov 8, 2022

#10 in #deref-mut

Download history 182/week @ 2024-07-21 1268/week @ 2024-07-28 700/week @ 2024-08-04 838/week @ 2024-08-11 662/week @ 2024-08-18 553/week @ 2024-08-25 956/week @ 2024-09-01 787/week @ 2024-09-08 768/week @ 2024-09-15 739/week @ 2024-09-22 809/week @ 2024-09-29 1093/week @ 2024-10-06 968/week @ 2024-10-13 868/week @ 2024-10-20 707/week @ 2024-10-27 865/week @ 2024-11-03

3,448 downloads per month
Used in 5 crates (2 directly)

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
~37K SLoC