1 unstable release

0.1.0 Nov 8, 2022

#1755 in Procedural macros

Download history 759/week @ 2024-11-15 521/week @ 2024-11-22 516/week @ 2024-11-29 360/week @ 2024-12-06 422/week @ 2024-12-13 316/week @ 2024-12-20 429/week @ 2024-12-27 217/week @ 2025-01-03 373/week @ 2025-01-10 463/week @ 2025-01-17 346/week @ 2025-01-24 657/week @ 2025-01-31 843/week @ 2025-02-07 639/week @ 2025-02-14 619/week @ 2025-02-21 462/week @ 2025-02-28

2,669 downloads per month
Used in 14 crates (8 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
~39K SLoC