Skip to content

v0.1.0

Compare
Choose a tag to compare
@JonasKruckenberg JonasKruckenberg released this 09 Mar 21:11
· 369 commits to main since this release

🔦 Highlights

Online playground

There is now an online version of this tool!

It always reflects the latest developments and allows you to play around with the interface definition language and see the code generated results or any produced errors. It is very bare bones right now, but it will receive more features and better design as time goes on.

Visit bindgen.tauri.tech to check it out!

New check subcommand

The tauri-bindgen command let's you check .wit files for errors.

Currently check makes sure no identifier is undefined or defined twice, that types aren't recursively referring to themselves and that no type definitions are unused.

Stabilized syntax

This release also stabilized the syntax and grammar of .wit files.

This means that no breaking changes in the file format are expected! You can find details about the interface definition language in the docs subfolder.

New Rust codegen

The rust code generation has been completely rewritten from scratch to use the quote, proc_macro2 and syn crates.

This makes rust code generation much more maintainable, easier to reason about and much more future proof than the old string based approach. The refactor is not yet complete though, so for the time being all code generation is hidden behind the unstable flag. Stay tuned to a future release when this restriction is lifted.