{"id":15295087,"url":"https://github.com/rusty-crank/playdate-rs","last_synced_at":"2025-10-07T00:46:46.520Z","repository":{"id":190567641,"uuid":"680467631","full_name":"rusty-crank/playdate-rs","owner":"rusty-crank","description":"Safe Rust bindings for the Playdate SDK C-API.","archived":false,"fork":false,"pushed_at":"2025-04-30T14:11:51.000Z","size":499,"stargazers_count":8,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-03T19:42:50.493Z","etag":null,"topics":["game","playdate","playdate-console","playdate-sdk","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rusty-crank.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":"2023-08-19T10:38:56.000Z","updated_at":"2025-08-04T19:48:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"b61834b9-a937-4ee2-aa1d-4110e2c32d67","html_url":"https://github.com/rusty-crank/playdate-rs","commit_stats":null,"previous_names":["rusty-crank/playdate-rs"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rusty-crank/playdate-rs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rusty-crank%2Fplaydate-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rusty-crank%2Fplaydate-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rusty-crank%2Fplaydate-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rusty-crank%2Fplaydate-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rusty-crank","download_url":"https://codeload.github.com/rusty-crank/playdate-rs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rusty-crank%2Fplaydate-rs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278259413,"owners_count":25957480,"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-10-04T02:00:05.491Z","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":["game","playdate","playdate-console","playdate-sdk","rust","rust-lang"],"created_at":"2024-09-30T17:08:33.776Z","updated_at":"2025-10-07T00:46:46.475Z","avatar_url":"https://github.com/rusty-crank.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# playdate-rs\n\n[![crates.io](https://img.shields.io/crates/v/playdate-rs?style=for-the-badge\u0026logo=rust)](https://crates.io/crates/playdate-rs)\n[![docs](https://img.shields.io/docsrs/playdate-rs/latest?style=for-the-badge\u0026logo=docs.rs)](https://docs.rs/playdate-rs)\n[![workflow-status](https://img.shields.io/github/actions/workflow/status/rusty-crank/playdate-rs/ci.yml?style=for-the-badge\u0026logo=github\u0026label=checks)](https://github.com/rusty-crank/playdate-rs/actions/workflows/ci.yml)\n\n***Note: Prior to reaching v0.1.0, this is a work in progress. The API is incomplete, and breaking changes can occur frequently across versions.***\n\nSafe binding for the [Playdate](https://play.date) SDK C-API that:\n\n1. Is easy to use and well documented.\n2. Designed with memory safety in mind.\n\nOnly works on Linux/macOS with the playdate simulator for now.\n\n# Getting Started\n\n1. Ensure that the environment variable `PLAYDATE_SDK_PATH` is correctly set.\n   * Skip this step on macOS, as the crate will automatically find the SDK by checking the default installation location.\n2. Install the CLI tool: `cargo install playdate-cli`\n3. Create a new project: `cargo playdate new hello-world`\n4. Run the project: `cd hello-world \u0026\u0026 cargo playdate run`\n\n_Please refer to [Playdate CLI docs](playdate-cli/README.md) for all the available CLI commands._\n\n# Application Bundling\n\nThe `cargo playdate build` command will automatically create a `target/\u003cprofile\u003e/\u003cpackage_name\u003e.pdx` folder that can run on the simulator. For the device build, it will be located at `target/thumbv7em-none-eabihf/\u003cprofile\u003e/\u003cpackage_name\u003e.pdx`.\n\n## Game assets bundling\n\nPlease put all assets files under the `assets` folder in the project's root directory (the folder containing `Cargo.toml`). The CLI will automatically copy all contents to the `.pdx` folder. All supported resources will be transformed by the `pdc` compiler.\n\nFor more details, please refer to the [examples/hello-world](examples/hello-world) project.\n\n##  `pdxinfo` generation and bundling\n\nThe CLI will automatically generate a `pdxinfo` file under the `.pdx` folder. There are two ways to set the content of the `pdxinfo` file:\n\n1. Create a pdxinfo file in the project's root directory (the folder containing `Cargo.toml`). The CLI will automatically pick it up.\n2. Create a `[package.metadata.pdxinfo]` section in `Cargo.toml`:\n\n```toml\n[package.metadata.pdxinfo]\nname = \"Your game name\" # Default value: package.name\nauthor = \"Your Name\" # Default value: package.authors\ndescription = \"Your game description\" # Default value: package.description\nbundle_id = \"com.your-game.bundle-id\" # Default value: \"com.example.\" + package.name\nimage_path = \"image/path\" # Default value: empty string\nlaunch_sound_path = \"launch/sound/path\" # Default value: empty string\ncontent_warning = \"Content warning\" # Default value: empty string\ncontent_warning2 = \"Content warning 2\" # Default value: empty string\n```\n\n_Note that all fields in `[package.metadata.pdxinfo]` are optional. The default value will be derived from other fields in `Cargo.toml`. Please refer to the `# Default value` comments above._\n\nExample: [examples/hello-world/Cargo.toml](examples/hello-world/Cargo.toml).\n\n# TODO\n\n* [x] Linux / macOS simulator build\n* [x] Cortex-M7F build\n* [ ] Support all public PlaydateSDK C-API\n* [ ] Run on real playdate device\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frusty-crank%2Fplaydate-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frusty-crank%2Fplaydate-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frusty-crank%2Fplaydate-rs/lists"}