{"id":16113274,"url":"https://github.com/patryk27/simavr-ffi","last_synced_at":"2025-03-18T09:31:16.789Z","repository":{"id":39580659,"uuid":"495952838","full_name":"Patryk27/simavr-ffi","owner":"Patryk27","description":"Low-level Rust bindings to simavr","archived":false,"fork":false,"pushed_at":"2024-10-29T18:48:34.000Z","size":53,"stargazers_count":3,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-08T18:45:51.913Z","etag":null,"topics":["avr","bindings","emulation","rust","simavr","simulation"],"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/Patryk27.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-05-24T19:00:45.000Z","updated_at":"2024-10-29T18:48:38.000Z","dependencies_parsed_at":"2024-01-02T16:24:29.881Z","dependency_job_id":"ad6ebf11-8c7b-453d-9a8c-1ded73eeca09","html_url":"https://github.com/Patryk27/simavr-ffi","commit_stats":{"total_commits":12,"total_committers":1,"mean_commits":12.0,"dds":0.0,"last_synced_commit":"db95bc60bf34caba029ca41f8df40053777096ab"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Patryk27%2Fsimavr-ffi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Patryk27%2Fsimavr-ffi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Patryk27%2Fsimavr-ffi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Patryk27%2Fsimavr-ffi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Patryk27","download_url":"https://codeload.github.com/Patryk27/simavr-ffi/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243918526,"owners_count":20368745,"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":["avr","bindings","emulation","rust","simavr","simulation"],"created_at":"2024-10-09T20:10:46.972Z","updated_at":"2025-03-18T09:31:16.784Z","avatar_url":"https://github.com/Patryk27.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# simavr-ffi \u0026emsp; [![crates-badge]][crates-link]\n\n[crates-badge]: https://img.shields.io/crates/v/simavr-ffi.svg\n[crates-link]: https://crates.io/crates/simavr-ffi\n\nLow-level unsafe bindings to [simavr](https://github.com/buserror/simavr):\n\n```toml\n[dependencies]\nsimavr-ffi = \"1\"\n```\n\nSupported platforms: Linux \u0026 Mac (pull requests for Windows etc. welcome!).\n\nIf you're looking for something high-level and safe, see [AvrTester](https://github.com/Patryk27/avr-tester).\n\n## Requirements\n\nCompile-time:\n\n- clang,\n- patch (optional, required only if you enable the `patch-twi-inconsistencies` feature flag),\n- libelf,\n- pkg-config,\n- zlib.\n\n### Nix (Linux / Mac)\n\n``` bash\n$ nix develop\n```\n\n### Ubuntu\n\n```bash\n$ sudo apt install clang libelf-dev pkg-config\n```\n\n### Mac\n\n```bash\n$ brew install libelf pkg-config\n```\n\n## Feature flags\n\nIf you want, you can activate following feature flags (disabled by default):\n\n- `patch-twi-inconsistencies` - applies a fix for https://github.com/buserror/simavr/issues/453\n\n## FAQ\n\n### How does it compare to `simavr-sys`?\n\n[`simavr-sys`](https://github.com/dylanmckay/simavr-sim) seems unmaintained at\nthe moment, while `simavr-ffi` is up-to-date.\n\n## License\n\nCopyright (c) 2022 Patryk Wychowaniec \u003cpwychowaniec@pm.me\u003e.    \nLicensed under the MIT license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpatryk27%2Fsimavr-ffi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpatryk27%2Fsimavr-ffi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpatryk27%2Fsimavr-ffi/lists"}