Json_in_type : encoding json faster than serde

Hi everyone!

I am new here, and new to rust in general. As I was learning rust, and in order to get familiar with rust concepts like generics, Zero-Sized types, and macros, I wrote a small library that does fast json serialization.

I think the library is now in a state where it can be useful to others, so here it is: GitHub - lovasoa/json_in_type: Fast json encoder in rust, that encodes the structure of JSON values in their types .

It does streaming encoding, has a derive implementation, and should be generally easy to use and efficient both in terms of memory usage and serialization time.

I would love to get feedback from you. Does this seem useful to you ? Are the code and the API idiomatic rust, or would you have written them in another way ?

Many thanks,
lovasoa