nestify 0.3.3

Nestify offers a macro to simplify and beautify nested struct definitions in Rust, enabling cleaner, more readable code structures with less verbosity. It's especially valuable for handling API responses.
Documentation
use syn::parse_str;
use quote::quote;
use crate::attributes::AttributeModifier;

#[test]
fn parse_star_modifier() {
    let input = quote!{*};
    let parsed = parse_str::<>(&input.to_string());

    assert!(matches!(parsed, Ok(AttributeModifier::Star(_))));
}

#[test]
fn parse_slash_modifier() {
    let input = quote!{/};
    let parsed = parse_str::<AttributeModifier>(&input.to_string());

    assert!(matches!(parsed, Ok(AttributeModifier::Slash(_))));
}

#[test]
fn parse_minus_modifier() {
    let input = quote!{-};
    let parsed = parse_str::<AttributeModifier>(&input.to_string());

    assert!(matches!(parsed, Ok(AttributeModifier::Minus(_))));
}