1 unstable release

0.1.0 Nov 8, 2022

#1548 in Procedural macros

Download history 941/week @ 2024-08-31 796/week @ 2024-09-07 776/week @ 2024-09-14 738/week @ 2024-09-21 810/week @ 2024-09-28 1065/week @ 2024-10-05 941/week @ 2024-10-12 862/week @ 2024-10-19 764/week @ 2024-10-26 732/week @ 2024-11-02 916/week @ 2024-11-09 692/week @ 2024-11-16 513/week @ 2024-11-23 478/week @ 2024-11-30 385/week @ 2024-12-07 385/week @ 2024-12-14

1,832 downloads per month
Used in 12 crates (6 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