TinyWeb | Rust on the client. 800 lines of code. No dependencies.
TinyWeb is a toolkit for building web applications in Rust. It's minimal and backend agnostic.
Enables client-side applications to be built in pure Rust, similar to backend applications. It's different than most other web frameworks as it does not use wasm-bindgen which brings a lot of dependencies. Instead, it just passes primitive types to and from Javascript and references to more complex types. If any of the references has to be accessed in Rust (wasm) it just gets the specific properties that are primitives and can be passed to Rust.
https://github.com/LiveDuo/tinyweb
I built a small example project to see how everything fits together and it's suprisingly easy to use. Maybe it gets harder when the project size grows but so far using Rust to build frontend was great!
https://github.com/LiveDuo/tinyweb-starter
The name is inspired by the `tinyhttp` crate that I enjoy using quite a bit.
Also, the software is in experimental so use with caution.