An experimental project on writing pure-rust client web app.
This project uses cutting-edge technologies to build a simple "base converter" web app. In detail, it uses Yew, a Rust framework for writing client web app. Rust code is compiled to WebAssembly using cargo-web, then served in the browser.
You can use the app here: https://vietcodes.github.io/products/numbase
Prepare the build environment:
- Install
rustup
, as in https://rustup.rs - Install Rust nightly:
rustup install nightly
- Switch to Rust nightly:
rustup default nightly
- Install the
wasm32-unknown-unknown
target:rustup target add wasm32-unknown-unknown
- Install
cargo-web
:cargo install cargo-web
To build, run cargo web start
.
Licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Contributions are welcomed, if you have any questions, new ideas, bug reports, etc., please open issue or pull request.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.