this post was submitted on 19 Jul 2024
26 points (93.3% liked)
Rust Programming
8144 readers
40 users here now
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Yep, it'd be a pretty small library. I'm not sure if they generate those JSON rules from somewhere else, but either way they could be converted to defined rust objects as part of a build process.
This might be helpful: https://github.com/oxidecomputer/typify