constructor-lite 0.3.0

Generate minimal constructors for structs
Documentation
use constructor_lite::ConstructorLite;

#[derive(Debug, PartialEq, ConstructorLite)]
struct Movie {
    #[constructor(default)]
    title: String,
    year: Option<u16>,
}

#[test]
fn test_default() {
    assert_eq!(
        Movie::new(),
        Movie {
            title: "".to_owned(),
            year: None
        }
    )
}