{"id":17653075,"url":"https://github.com/yuchanns/rustbyexample","last_synced_at":"2025-07-27T22:35:10.435Z","repository":{"id":97323500,"uuid":"326894329","full_name":"yuchanns/rustbyexample","owner":"yuchanns","description":"Yet another learn by example with rust. Examples of Wasm. Examples of yew usage","archived":false,"fork":false,"pushed_at":"2023-10-09T14:01:18.000Z","size":712,"stargazers_count":15,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-25T03:47:36.222Z","etag":null,"topics":["rust","rustbyexample","tailwindcss","wasm","yew-demo","yew-functional"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yuchanns.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2021-01-05T05:18:32.000Z","updated_at":"2024-12-30T03:39:33.000Z","dependencies_parsed_at":"2023-04-18T21:36:56.085Z","dependency_job_id":null,"html_url":"https://github.com/yuchanns/rustbyexample","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/yuchanns/rustbyexample","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuchanns%2Frustbyexample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuchanns%2Frustbyexample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuchanns%2Frustbyexample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuchanns%2Frustbyexample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yuchanns","download_url":"https://codeload.github.com/yuchanns/rustbyexample/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuchanns%2Frustbyexample/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267436739,"owners_count":24086898,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-27T02:00:11.917Z","response_time":82,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["rust","rustbyexample","tailwindcss","wasm","yew-demo","yew-functional"],"created_at":"2024-10-23T11:59:44.317Z","updated_at":"2025-07-27T22:35:10.412Z","avatar_url":"https://github.com/yuchanns.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rustbyexample\nYet another learn by example with rust\n\n## Contribution\nMore examples of rust usage are welcome, so feel free to create **PR**s to help me to make this repo better.\n\n## Badge\n![](https://github.com/yuchanns/rustbyexample/workflows/yew-tic-tac-toe/badge.svg?branch=main)\n![](https://github.com/yuchanns/rustbyexample/workflows/game-of-life/badge.svg?branch=main)\n![](https://github.com/yuchanns/rustbyexample/workflows/yew-functional/badge.svg?branch=main)\n![](https://github.com/yuchanns/rustbyexample/workflows/yew-functional-tic-tac-toe/badge.svg?branch=main)\n![](https://github.com/yuchanns/rustbyexample/workflows/yew-tailwindcss/badge.svg?branch=main)\n![](https://github.com/yuchanns/rustbyexample/workflows/writing-an-os-in-rust/badge.svg?branch=main)\n![](https://github.com/yuchanns/rustbyexample/workflows/algo/badge.svg?branch=main)\n\n## Navigation\n* Looking for [THE RUST PROGRAMING LANGUAGE](https://doc.rust-lang.org/book/) example, see `folder trpl`.\n* Looking for [RUST编程之道](https://book.douban.com/subject/30418895/) example, see `folder ttor`.\n* Looking for some crates example, see `folder crates`.\n* Writing an OS in Rust, see `folder write-an-os-in-rust`.\n\n### Wasm\nseeking 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.\n\n### Yew Example\nIf 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.\n\nAs 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`.\n\n[`crates/yew-all-hooks`](https://github.com/yuchanns/rustbyexample/tree/main/crates/yew-all-hooks) shows you guys the usages of yew functional hooks.\n\n[`crates/yew-tailwindcss`](https://github.com/yuchanns/rustbyexample/tree/main/crates/yew-tailwindcss) shows the way of using tailwindcss in a yew project.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyuchanns%2Frustbyexample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyuchanns%2Frustbyexample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyuchanns%2Frustbyexample/lists"}