A JMAP library for Rust
Here’s the start of a fully type-checked JMAP parser/generator in Rust. I’m sure its not good idiomatic Rust yet, but I’m still pretty proud of it.
Mostly I like how concise you can make things and still get pretty solid guarantees about the quality of the data you get back from the parser. If the object parses, you know its good and don’t need to do any further checking.
Partial objects are going to be interesting. Not hard, but I’m really curious to see how much I can reuse.