Keats / validator

Simple validation for Rust structs
MIT License
2.07k stars 151 forks source link

fix: check the name of #[foo] (name only) attributes (#340) #345

Closed naskya closed 3 months ago

naskya commented 3 months ago

This PR closes #340.

I wanted to add some tests for this, but we need to use another proc macro crate that provides #[foo] attributes, so I didn’t. (for example, all serde attributes are #[serde(...)], and there is no #[serde])