Do you have plans to share more detail on or open source the Rust-to-TypeScript derive macros and protocol they target? Have you run into any limitations with it?
Yeah so these were the first derive macros I've ever written, and they're quite ad-hoc to say the least, with very few types / expression syntaxes being supported currently. Also, I'm not sure how useful others would find them as they're all meant to work in tandem for my exact use case where I wanted a very specific output that also generated const enums and verbose interface definitions that worked with my code generation for generating binary decoding functions for each type.
I'm not necessarily against open sourcing them, but I'd probably want to significantly polish / rewrite them first and write a lot of documentation, and probably only if there was significant demand. In the meantime I think there's a decent number of crates for generating Typescript bindings for Rust types that have much better support (like ts-rs and typeshare)
I'm not necessarily against open sourcing them, but I'd probably want to significantly polish / rewrite them first and write a lot of documentation, and probably only if there was significant demand. In the meantime I think there's a decent number of crates for generating Typescript bindings for Rust types that have much better support (like ts-rs and typeshare)