1 unstable release

0.1.0 Nov 8, 2022

#10 in #deref-mut

Download history 128/week @ 2024-01-09 99/week @ 2024-01-16 157/week @ 2024-01-23 317/week @ 2024-01-30 316/week @ 2024-02-06 213/week @ 2024-02-13 124/week @ 2024-02-20 165/week @ 2024-02-27 499/week @ 2024-03-05 629/week @ 2024-03-12 227/week @ 2024-03-19 336/week @ 2024-03-26 239/week @ 2024-04-02 277/week @ 2024-04-09 225/week @ 2024-04-16 369/week @ 2024-04-23

1,128 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
~35K SLoC