Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yuchanns/rustbyexample
Yet another learn by example with rust. Examples of Wasm. Examples of yew usage
https://github.com/yuchanns/rustbyexample
rust rustbyexample tailwindcss wasm yew-demo yew-functional
Last synced: 2 months ago
JSON representation
Yet another learn by example with rust. Examples of Wasm. Examples of yew usage
- Host: GitHub
- URL: https://github.com/yuchanns/rustbyexample
- Owner: yuchanns
- License: mit
- Created: 2021-01-05T05:18:32.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-10-09T14:01:18.000Z (about 1 year ago)
- Last Synced: 2023-10-09T15:26:36.137Z (about 1 year ago)
- Topics: rust, rustbyexample, tailwindcss, wasm, yew-demo, yew-functional
- Language: Rust
- Homepage:
- Size: 695 KB
- Stars: 14
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# rustbyexample
Yet another learn by example with rust## Contribution
More examples of rust usage are welcome, so feel free to create **PR**s to help me to make this repo better.## Badge
![](https://github.com/yuchanns/rustbyexample/workflows/yew-tic-tac-toe/badge.svg?branch=main)
![](https://github.com/yuchanns/rustbyexample/workflows/game-of-life/badge.svg?branch=main)
![](https://github.com/yuchanns/rustbyexample/workflows/yew-functional/badge.svg?branch=main)
![](https://github.com/yuchanns/rustbyexample/workflows/yew-functional-tic-tac-toe/badge.svg?branch=main)
![](https://github.com/yuchanns/rustbyexample/workflows/yew-tailwindcss/badge.svg?branch=main)
![](https://github.com/yuchanns/rustbyexample/workflows/writing-an-os-in-rust/badge.svg?branch=main)
![](https://github.com/yuchanns/rustbyexample/workflows/algo/badge.svg?branch=main)## Navigation
* Looking for [THE RUST PROGRAMING LANGUAGE](https://doc.rust-lang.org/book/) example, see `folder trpl`.
* Looking for [RUST编程之道](https://book.douban.com/subject/30418895/) example, see `folder ttor`.
* Looking for some crates example, see `folder crates`.
* Writing an OS in Rust, see `folder write-an-os-in-rust`.### Wasm
seeking for the start of Wasm? check it on [`crates/wasm-game-of-life`](https://github.com/yuchanns/rustbyexample/tree/main/crates/wasm-game-of-life) to implement a Conway's Game of Life.### Yew Example
If you would like to find some examples of using Yew, check the codes under [`crates/yew-tic-tac-toe`](https://github.com/yuchanns/rustbyexample/tree/main/crates/yew-tic-tac-toe). It's a tutorial of react `tic-tac-toe` implemented on Yew.As using Yew Functional Components, see [`crates/yew-functional-tic-tac-toe`](https://github.com/yuchanns/rustbyexample/tree/main/crates/yew-functional-tic-tac-toe) for more example usages. It's another implementation on yew functional components of tutorial `tic-tac-toe`.
[`crates/yew-all-hooks`](https://github.com/yuchanns/rustbyexample/tree/main/crates/yew-all-hooks) shows you guys the usages of yew functional hooks.
[`crates/yew-tailwindcss`](https://github.com/yuchanns/rustbyexample/tree/main/crates/yew-tailwindcss) shows the way of using tailwindcss in a yew project.