Comments (4)
My recommendation is to use jtd-codegen
as a CLI tool, or to create a WASM build yourself. I cannot maintain a WASM build at this time.
from json-typedef-codegen.
Hmmm, with the closing of #37 I think it's impossible for me to create it myself without forking. Could you reconsider exporting a library interface?
My Rust is bad so I'm not sure the difficulty in publishing a crate, but I imagine that the library and the wasm bindings would actually be one in the same which is convenient.
from json-typedef-codegen.
I'm afraid my stance has not changed since #37 or prior times this has been asked. It's quite difficult to expose this library as a useful Rust crate. Maintaining a stable CLI interface is much easier than maintaining a stable Rust one.
from json-typedef-codegen.
You don't need this codebase to be maintained as a Rust crate to get this done. I suspect you can instead fork this repo and create a build yourself. If you so choose, you could also maintain an NPM package. All of this is permissible under the MIT license.
from json-typedef-codegen.
Related Issues (20)
- Supports optional properties in C# < 8.0?
- Java: Invalid NON_NULL annotation?
- Feature Request/Discussion: Golang string types for discriminator
- Is it possible to use it as a crate from the build.rs?
- codegen for c or c++
- Incorrect singularization of "drives" HOT 1
- Rust: tests broken by shifting dependency versions
- Arm64 support for jtd-codegen
- cant generate types from this jsonld schema HOT 2
- Add nullability annotations in generated Java code HOT 3
- Discriminator variant disapears when type name is overridden
- Go: Use private interfaces instead of generating structs for discriminating types HOT 1
- Python datetime serialisation/deserialisation not working correctly without timezone
- Permit specifying/overriding field names HOT 1
- Go: support for explicit embedded structs
- Remote resource support
- TypeScript: `any` vs `unknown` HOT 1
- How to generate classes part of build.gradle?
- Old url in repo settings
- Name JSON key when erroring
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from json-typedef-codegen.