2 unstable releases
0.2.0 | Jul 29, 2024 |
---|---|
0.1.0 | Jul 21, 2024 |
#2260 in Procedural macros
Used in serde-validate
15KB
228 lines
serde-validate-macro
This crate provides the validate_deser
procedural macro for the serde-validate
crate.
Users should refer to the serde-validate
crate for usage details and examples.
Installation
This crate is typically used as a dependency of the serde-validate
crate. To use the validate_deser
macro, enable the macro
feature in the serde-validate
crate.
Add this to your Cargo.toml
:
[dependencies]
serde-validate = { version = "0.1" }
License
This project is licensed under the GPL-3.0 License - see the LICENSE file for details.
lib.rs
:
serde-validate-macro
This crate provides the validate_deser
procedural serde-validate-macro for the serde-validate
crate.
Users should prefer using the serde-validate
crate.
Dependencies
~230–670KB
~16K SLoC