{"id":13535361,"url":"https://github.com/pistondevelopers/piston","last_synced_at":"2026-10-19T00:08:39.214Z","repository":{"id":16352690,"uuid":"19102672","full_name":"PistonDevelopers/piston","owner":"PistonDevelopers","description":"A modular game engine written in Rust","archived":false,"fork":false,"pushed_at":"2026-08-26T08:44:37.000Z","size":4507,"stargazers_count":4711,"open_issues_count":36,"forks_count":235,"subscribers_count":122,"default_branch":"master","last_synced_at":"2026-10-16T22:36:08.220Z","etag":null,"topics":["modular-game-engine","piston","rust"],"latest_commit_sha":null,"homepage":"https://www.piston.rs","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/PistonDevelopers.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","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},"funding":{"github":"bvssvni"}},"created_at":"2014-04-24T09:18:05.000Z","updated_at":"2026-10-15T04:24:28.000Z","dependencies_parsed_at":"2024-06-18T13:36:23.515Z","dependency_job_id":"866ee860-bcb2-4bb2-a7c1-c788e55d263c","html_url":"https://github.com/PistonDevelopers/piston","commit_stats":{"total_commits":1133,"total_committers":82,"mean_commits":"13.817073170731707","dds":0.2524271844660194,"last_synced_commit":"faa18ba00213ea6b21234e300b106cc97d99ef5f"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/PistonDevelopers/piston","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PistonDevelopers%2Fpiston","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PistonDevelopers%2Fpiston/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PistonDevelopers%2Fpiston/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PistonDevelopers%2Fpiston/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PistonDevelopers","download_url":"https://codeload.github.com/PistonDevelopers/piston/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PistonDevelopers%2Fpiston/sbom","scorecard":{"id":110363,"data":{"date":"2025-08-11","repo":{"name":"github.com/PistonDevelopers/piston","commit":"88e0a7ca84ddc540de04ec36f1f4196454920623"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.5,"checks":[{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 0/21 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 18 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-15T12:04:59.214Z","repository_id":16352690,"created_at":"2025-08-15T12:04:59.214Z","updated_at":"2025-08-15T12:04:59.214Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":344872684,"owners_count":38343427,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-10-03T21:59:58.778Z","status":"online","status_checked_at":"2026-10-18T02:00:06.448Z","response_time":63,"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":["modular-game-engine","piston","rust"],"created_at":"2024-08-01T08:00:54.855Z","updated_at":"2026-10-19T00:08:39.205Z","avatar_url":"https://github.com/PistonDevelopers.png","language":"Rust","funding_links":["https://github.com/sponsors/bvssvni"],"categories":["代码"],"sub_categories":["游戏开发"],"readme":"# ![Piston](./images/piston-logo.png)\n\n[![Crates.io](https://img.shields.io/crates/v/piston.svg?style=flat-square)](https://crates.io/crates/piston) [![Crates.io](https://img.shields.io/crates/l/piston.svg)](https://github.com/PistonDevelopers/piston/blob/master/LICENSE)\n\nA Piston core for the Piston game engine,\na modular game engine written in Rust.\n\n### Design\n\nPiston's architecture decouples backend-specific code from abstraction.\nWhen you design a library for the Piston ecosystem,\nyou write code using generics and traits, without depending on backends.\nBackends implement the traits and are plugged in at application level of coding.\n\nThis design fits with Rust's type system and improves ecosystem stability.\nThe default programming pattern is Model-View-Controller (MVP).\nHowever, there are no traits needed to use this pattern.\n\n- A model is simply some data structure, database etc.\n- A view is how something is rendered\n- A controller stores the state, transforms input events into other events or actions, or deals with application logic in general.\n\nPiston's philosophy is \"less is more\".\nAs much as possible of the ecosystem is decoupled from the core\nand shared with the broader Rust ecosystem.\nThis blurs the boundary between what is Piston and what is just Rust,\nbut it also helps developers write the code they need for some specific\napplication, without inventing entire new frameworks to solve their problems.\n\nRemember to take regular breaks, ideally with some physical exercise.\n\nDevelopers who use Piston typically maintain their code bases for long periods\nof time, where the main problem is reducing the costs of maintenance.\nSuch code bases often use multiple programming languages, not just Rust.\nPatterns to solve small technical problems can reduce cognitive load,\nbut if they do not work well with the rest of the ecosystem,\nsuch patterns increase maintenance costs.\n\nYou might find Piston's architecture boring,\nwhich is a good thing: A design optimized for overall quality of life.\n\n### Introduction\n\n* [Tutorials](https://github.com/pistondevelopers/piston-tutorials)\n* [Examples](https://github.com/pistondevelopers/piston-examples)\n* [Overview](https://github.com/PistonDevelopers/piston/wiki/Piston-overview)\n* [Features](https://github.com/PistonDevelopers/piston/wiki/Features)\n* [List of games made with Piston](https://github.com/PistonDevelopers/piston/wiki/Games-Made-With-Piston)\n* [Piston online docs](https://docs.rs/piston/)\n* [How to contribute](https://github.com/PistonDevelopers/piston/blob/master/CONTRIBUTING.md)\n* [Online forums](https://github.com/PistonDevelopers/piston/issues/1400)\n* [FAQ - Frequently Asked Questions](https://github.com/PistonDevelopers/piston/wiki/Frequently-Asked-Questions-(FAQ))\n* [Maintainers of Piston core libraries](https://github.com/PistonDevelopers/piston/issues/1399)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpistondevelopers%2Fpiston","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpistondevelopers%2Fpiston","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpistondevelopers%2Fpiston/lists"}