{"id":13502897,"url":"https://github.com/grunnt/falling-rust","last_synced_at":"2025-03-29T12:33:14.105Z","repository":{"id":63524071,"uuid":"407951678","full_name":"grunnt/falling-rust","owner":"grunnt","description":"A falling-sand toy written using Rust, Bevy and egui.","archived":false,"fork":false,"pushed_at":"2024-10-31T07:36:45.000Z","size":731,"stargazers_count":25,"open_issues_count":0,"forks_count":7,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-10-31T08:26:19.840Z","etag":null,"topics":["bevy","egui","rust","rust-lang"],"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/grunnt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2021-09-18T19:38:09.000Z","updated_at":"2024-10-31T07:36:49.000Z","dependencies_parsed_at":"2023-02-15T00:05:24.628Z","dependency_job_id":"974f35dc-66ca-4b08-82ed-3015d275e676","html_url":"https://github.com/grunnt/falling-rust","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grunnt%2Ffalling-rust","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grunnt%2Ffalling-rust/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grunnt%2Ffalling-rust/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grunnt%2Ffalling-rust/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/grunnt","download_url":"https://codeload.github.com/grunnt/falling-rust/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":222495242,"owners_count":16993288,"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":["bevy","egui","rust","rust-lang"],"created_at":"2024-07-31T22:02:28.987Z","updated_at":"2024-10-31T22:31:00.286Z","avatar_url":"https://github.com/grunnt.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"# Falling Rust\n\nA falling-sand toy written using Rust, Bevy and egui.\n\n## How to run\n\nA release version for Windows is available at [GitHub releases](https://github.com/grunnt/falling-rust/releases).\n\n## How to run from the code\n\nYou will need to have [Rust](https://www.rust-lang.org) installed to compile this. \n\nThe simulation is quite CPU intensive, so you may want to run this in release mode:\n\n```\ncargo run --release\n```\n\n## How to build for the web\n\nFalling-rust can be built as a WASM binary as well, which allows it to be run inside a webpage.\n\nYou will need to have the `wasm32-unknown-unknown` target installed. This is easily done using rustup:\n```\nrustup target add wasm32-unknown-unknown\n```\n\nThen falling-rust needs to be compiled for wasm, using the profile that optimizes for binary size:\n```\ncargo build --profile web --target wasm32-unknown-unknown\n```\n\nAnd finally you can generate bindings for javascript (and an index.html page) using `wasm-bindgen`:\n```\nwasm-bindgen --out-dir ./wasm --target web ./target/wasm32-unknown-unknown/web/falling-rust.wasm\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrunnt%2Ffalling-rust","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgrunnt%2Ffalling-rust","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrunnt%2Ffalling-rust/lists"}