1 unstable release
0.1.0 | Nov 8, 2022 |
---|
#1548 in Procedural macros
1,832 downloads per month
Used in 12 crates
(6 directly)
7KB
97 lines
Deref Derive
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