jsontypedef / json-typedef-codegen

A CLI tool that generates code from JSON Typedef schemas
https://jsontypedef.com/docs/tools/jtd-codegen
MIT License
160 stars 31 forks source link

Using `json-typedef-codegen` as a library instead of a binary? #37

Closed whereistejas closed 3 years ago

whereistejas commented 3 years ago

Hi, This is more like a feature-request or Q&A issue.

I was wondering if it possible to use this project as a dependency in another crate?

By the way, great work here!

ucarion commented 3 years ago

Only the CLI interface is supported. This is to simplify the story around packaging, releasing, and maintaining this tool. The fact that it's written in Rust is, at least for now, an internal detail that doesn't imply support for usage as a Rust library.