https://github.com/script-mouse/structinator
https://github.com/script-mouse/structinator
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/script-mouse/structinator
- Owner: script-mouse
- License: apache-2.0
- Created: 2023-08-04T01:10:11.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-06-16T23:10:54.000Z (about 2 years ago)
- Last Synced: 2025-12-14T01:21:55.394Z (6 months ago)
- Language: Rust
- Size: 14.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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/)