logoalt Hacker News

haideralshammatoday at 5:55 AM1 replyview on HN

I am building an open source desktop app in Tauri [1]. One of the issues I encountered was having to duplicate and sync types between the TypeScript frontend and Rust. On the other hand, Rust proved to be a great language with a sizeable ecosystem for building application backends.

[1]: https://github.com/haideralsh/prompt-lab


Replies

bpevtoday at 7:08 AM

fwiw, I think the most comprehensive cross-typing work done here has been specta:

https://github.com/specta-rs/tauri-specta