{"id":19005968,"url":"https://github.com/flareflo/rust_pow2_web","last_synced_at":"2026-06-07T16:32:31.888Z","repository":{"id":242286619,"uuid":"809166888","full_name":"FlareFlo/rust_pow2_web","owner":"FlareFlo","description":null,"archived":false,"fork":false,"pushed_at":"2024-06-02T00:39:36.000Z","size":166,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-01T19:43:41.025Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/FlareFlo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-01T22:25:35.000Z","updated_at":"2024-06-02T00:35:10.000Z","dependencies_parsed_at":"2024-06-01T23:50:43.066Z","dependency_job_id":"42d20ede-03b7-42b6-849d-9375f0a847f9","html_url":"https://github.com/FlareFlo/rust_pow2_web","commit_stats":null,"previous_names":["flareflo/rust_pow2_web"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FlareFlo%2Frust_pow2_web","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FlareFlo%2Frust_pow2_web/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FlareFlo%2Frust_pow2_web/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FlareFlo%2Frust_pow2_web/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FlareFlo","download_url":"https://codeload.github.com/FlareFlo/rust_pow2_web/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240027760,"owners_count":19736271,"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","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":[],"created_at":"2024-11-08T18:29:45.173Z","updated_at":"2026-04-21T21:30:17.122Z","avatar_url":"https://github.com/FlareFlo.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Yew Trunk Template\n\nThis is a fairly minimal template for a Yew app that's built with [Trunk].\n\n## Usage\n\nFor a more thorough explanation of Trunk and its features, please head over to the [repository][trunk].\n\n### Installation\n\nIf you don't already have it installed, it's time to install Rust: \u003chttps://www.rust-lang.org/tools/install\u003e.\nThe rest of this guide assumes a typical Rust installation which contains both `rustup` and Cargo.\n\nTo compile Rust to WASM, we need to have the `wasm32-unknown-unknown` target installed.\nIf you don't already have it, install it with the following command:\n\n```bash\nrustup target add wasm32-unknown-unknown\n```\n\nNow that we have our basics covered, it's time to install the star of the show: [Trunk].\nSimply run the following command to install it:\n\n```bash\ncargo install trunk wasm-bindgen-cli\n```\n\nThat's it, we're done!\n\n### Running\n\n```bash\ntrunk serve\n```\n\nRebuilds the app whenever a change is detected and runs a local server to host it.\n\nThere's also the `trunk watch` command which does the same thing but without hosting it.\n\n### Release\n\n```bash\ntrunk build --release\n```\n\nThis builds the app in release mode similar to `cargo build --release`.\nYou can also pass the `--release` flag to `trunk serve` if you need to get every last drop of performance.\n\nUnless overwritten, the output will be located in the `dist` directory.\n\n## Using this template\n\nThere are a few things you have to adjust when adopting this template.\n\n### Remove example code\n\nThe code in [src/main.rs](src/main.rs) specific to the example is limited to only the `view` method.\nThere is, however, a fair bit of Sass in [index.scss](index.scss) you can remove.\n\n### Update metadata\n\nUpdate the `name`, `version`, `description` and `repository` fields in the [Cargo.toml](Cargo.toml) file.\nThe [index.html](index.html) file also contains a `\u003ctitle\u003e` tag that needs updating.\n\nFinally, you should update this very `README` file to be about your app.\n\n### License\n\nThe template ships with both the Apache and MIT license.\nIf you don't want to have your app dual licensed, just remove one (or both) of the files and update the `license` field in `Cargo.toml`.\n\nThere are two empty spaces in the MIT license you need to fill out: `` and `FlareFlo \u003cmail@flareflo.dev\u003e`.\n\n[trunk]: https://github.com/thedodd/trunk\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflareflo%2Frust_pow2_web","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflareflo%2Frust_pow2_web","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflareflo%2Frust_pow2_web/lists"}