{"id":16724354,"url":"https://github.com/badboy/rocketscience","last_synced_at":"2025-08-30T18:30:44.530Z","repository":{"id":41967644,"uuid":"359785905","full_name":"badboy/rocketscience","owner":"badboy","description":"Example project to demonstrate what UniFFI can do","archived":false,"fork":false,"pushed_at":"2023-08-07T19:48:08.000Z","size":112,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-12-24T02:01:33.677Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C++","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/badboy.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}},"created_at":"2021-04-20T11:10:24.000Z","updated_at":"2024-01-13T14:21:54.000Z","dependencies_parsed_at":"2022-08-12T00:50:52.124Z","dependency_job_id":null,"html_url":"https://github.com/badboy/rocketscience","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/badboy%2Frocketscience","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/badboy%2Frocketscience/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/badboy%2Frocketscience/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/badboy%2Frocketscience/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/badboy","download_url":"https://codeload.github.com/badboy/rocketscience/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":231514397,"owners_count":18388402,"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-10-12T22:44:55.632Z","updated_at":"2024-12-27T16:35:19.874Z","avatar_url":"https://github.com/badboy.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# This is not rocket science‽\n\nA project demonstrating how to use [UniFFI] to write a cross-platform Rust library and auto-generate bindings in different languages.\n\nThis project was used as an example at the [Rust Linz Meetup in April 2021](https://www.meetup.com/Rust-Linz/events/276521001/) during my talk \"Leveraging Rust to build cross-platform mobile libraries\".\nIt was updated to UniFFI 0.17 for my [Rust Nigeria Lightning Talk in February 2022](https://skillsmatter.com/meetups/13752-rust-nigeria-ama) titled \"Rust in a UniFFIed World\".\n\n## Tests\n\nTests are implemented in the respective languages. See [`tests/bindings/`](tests/bindings/) for a list of all implemented language bindings.\n\nYou can run all binding tests using `cargo`:\n\n```\ncargo xtask test\n```\n\nCaution: This will require `swift`, `kotlinc` and `python3`.\nIf you want to run tests for only a single language you can do so:\n\n```\ncargo xtask test kotlin\ncargo xtask test swift\ncargo xtask test python\n```\n\n## Generate bindings code\n\nWhen just testing all code is generated at build time.\nIf you want to generate the code for inspection,\nto check it into source control or for other purposes\nuse [`uniffi_bindgen`].\n\nTo install it:\n\n```\ncargo install uniffi_bindgen\n```\n\nTo generate the bindings in the `bindings/` directory:\n\n```\ncargo xtask generate\n```\n\n\n## License\n\nMIT. See [LICENSE](LICENSE).  \nCopyright (c) 2021-2022 Jan-Erik Rediger \u003cjanerik@fnordig.de\u003e\n\n[uniffi]: https://github.com/mozilla/uniffi-rs\n[`uniffi_bindgen`]: https://crates.io/crates/uniffi_bindgen\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbadboy%2Frocketscience","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbadboy%2Frocketscience","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbadboy%2Frocketscience/lists"}