Keats / validator

Simple validation for Rust structs
MIT License
1.97k stars 141 forks source link

Implement `Rc` feature to allow for reference counting smart pointers to be supported #248

Open sokorototo opened 1 year ago

sokorototo commented 1 year ago

Serde has an rc feature that treats Rc and Arc as cheap pointers to the data within. If the data within can be validated, I suppose it is a trait of some kind, then the Rc<T> also implements the trait. A blanket trait implementation would work well here