attrimpl 0.5.0

The crate provides attributes to automatically implement common traits and reduce boilerplate code.
Documentation
#![allow(dead_code)]

#[test]
fn compilation() {
    {
        #[attrimpl::attrimpl]
        enum Enum<'a, const N: usize = 7> {
            S(#[attrimpl(convert)] &'a String),
            U8 {
                #[attrimpl(from)]
                byte: u8,
            },
            F64(#[attrimpl(convert)] f64),
        }
    }

    {
        #[attrimpl::attrimpl]
        struct Struct<T: Into<String>> {
            #[attrimpl(deref_mut)]
            value: T,
        }
    }
}