Open brycefisher opened 6 years ago
I took a look at your branch and the implementation seems simple and adequate. My only concern is that it's adding unneeded dependencies, but if my suspicions are correct, that LLVM will eliminate that code when unused, then I'd be happy to accept it.
My only other comment is that seems odd to only implement deserialization and not serialization, but I suppose it doesn't hurt to have it.
@Tahler -- thanks for accepting my PR! I can push another PR that adds deserialization support too, I just didn't need that for my personal use case :-)
Deserialization would be awesome, we had to move away from this crate because it didn't support Serde deserialization, and we didn't have time to implement it.
See #8 for serialization and deserialization
@Tahler -- if you prefer, I can create a cargo feature gate to provide compile time toggle on serde.
I have a branch which implements Serde support. Would you be interested in accepting that? Its super super simple right now and might need a little polish. Let me know and I'll open a PR for that :-)