Marwes / schemafy

Crate for generating rust types from a json schema
MIT License
242 stars 51 forks source link

Refactor core logic to a separate crate #30

Closed tinou98 closed 4 years ago

tinou98 commented 4 years ago

It will allow other crate to use this as a library

Marwes commented 4 years ago

Nevermind, I can see how it is better to keep schemafy with the main name since it ought to be rarer to use this as a library (are you thinking of putting it in build script or something instead?)

tinou98 commented 4 years ago

I left the schemafy name mainly for backward compatibility.

My plan is to create a Generator for Google API using the Google API Discovery Service. In this case, the generated code from schemafy is only one part on the full generation process.