An open API service indexing awesome lists of open source software.

https://github.com/script-mouse/structinator


https://github.com/script-mouse/structinator

Last synced: 4 months ago
JSON representation

Awesome Lists containing this project

README

          

structinator is a library for easy implementation of `SpecifyCreatableStruct` from [`structinator_traits`](https://crates.io/crates/structinator_traits). Just add the attribute `#[iter_convertable]` to the struct you want to implement `SpecifyCreatableStruct`, and an automatic implementation of the trait will allow conversion between iterators and the structure of your choice! For more information, check this library's [documentation](https://docs.rs/structinator/0.1.0/structinator/)