https://github.com/tensor-programming/rust_yew_todo_app
https://github.com/tensor-programming/rust_yew_todo_app
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/tensor-programming/rust_yew_todo_app
- Owner: tensor-programming
- Created: 2017-12-28T01:46:02.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-02-02T22:39:02.000Z (almost 8 years ago)
- Last Synced: 2024-12-16T19:04:01.886Z (about 1 year ago)
- Language: Rust
- Size: 21.5 KB
- Stars: 18
- Watchers: 1
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Rust Yew Todo Application
# A simple Rust client side Todo App using the Yew Framework.
#### Major Props to [icode-live](https://github.com/icode-live) for [updating](https://github.com/tensor-programming/rust_yew_todo_app/pull/1/commits/a1ea01f303224c26b54fbda717b7dfff06256f8f) this repository for the latest version of Yew.
### Running it
Clone or download this repository.
You need to have cargo-web installed as well as a suitable target for the Rust compiler to generate web output.
By default cargo-web uses asmjs-unknown-emscripten.
#### Rust stable
Install cargo-web and the asmjs and wasm32 emscripten targets as follows:
```
$ cargo install cargo-web
$ rustup target add asmjs-unknown-emscripten
$ rustup target add wasm32-unknown-emscripten
```
For normal Debug build run
```
$ cargo web start
```
To run an optimised build instead of a debug build use:
```
$ cargo web start --target-webasm-emscripten=wasm32-unknown-emscripten --release
```
#### Rust nightly
If you are using rust nightly you can use the brand new `wasm32-unknown-unknown` target
```
$ cargo install cargo-web
$ rustup target add wasm32-unknown-unknown
$ cargo web start --target-webasm=wasm32-unknown-unknown
```
### Check out the Youtube Tutorial for this [Rust Tutorial](https://youtu.be/j8EnB7gkygw). Here is our [Youtube Channel](https://www.youtube.com/channel/UCYqCZOwHbnPwyjawKfE21wg) go ahead and subscribe for more content.
### Check out our blog at [tensor-programming.com](http://tensor-programming.com/).
### Our [Twitter](https://twitter.com/TensorProgram), our [facebook](https://www.facebook.com/Tensor-Programming-1197847143611799/) and our [Steemit](https://steemit.com/@tensor).