{"id":16533743,"url":"https://github.com/niwakadev/shared_enum_with_associated_data_between_rust_and_swift","last_synced_at":"2026-05-05T20:33:23.439Z","repository":{"id":158793004,"uuid":"603802290","full_name":"NiwakaDev/shared_enum_with_associated_data_between_rust_and_swift","owner":"NiwakaDev","description":"This is an example of how to share enum with associated data between rust and swift.","archived":false,"fork":false,"pushed_at":"2023-02-19T16:34:23.000Z","size":678,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-12T11:03:02.815Z","etag":null,"topics":["rust","swift"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/NiwakaDev.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":"2023-02-19T16:08:11.000Z","updated_at":"2023-02-19T22:42:09.000Z","dependencies_parsed_at":"2023-08-25T11:47:30.144Z","dependency_job_id":null,"html_url":"https://github.com/NiwakaDev/shared_enum_with_associated_data_between_rust_and_swift","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/NiwakaDev/shared_enum_with_associated_data_between_rust_and_swift","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NiwakaDev%2Fshared_enum_with_associated_data_between_rust_and_swift","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NiwakaDev%2Fshared_enum_with_associated_data_between_rust_and_swift/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NiwakaDev%2Fshared_enum_with_associated_data_between_rust_and_swift/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NiwakaDev%2Fshared_enum_with_associated_data_between_rust_and_swift/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NiwakaDev","download_url":"https://codeload.github.com/NiwakaDev/shared_enum_with_associated_data_between_rust_and_swift/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NiwakaDev%2Fshared_enum_with_associated_data_between_rust_and_swift/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259453468,"owners_count":22860083,"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":["rust","swift"],"created_at":"2024-10-11T18:15:42.829Z","updated_at":"2026-05-05T20:33:23.231Z","avatar_url":"https://github.com/NiwakaDev.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# shared_enum_with_associated_data_between_rust_and_swift\nThis is an example of how to share enum with associated data between rust and swift.\n\n## Build\n\n```\n./build\n```\n\n## Run\n\n```\n./sample/main \n```\n\n## Resource\n\n[Enums With Fields](https://doc.rust-lang.org/reference/type-layout.html#reprc-enums-with-fields)\n\n[Using Imported C Structs and Unions in Swift](https://developer.apple.com/documentation/swift/using-imported-c-structs-and-unions-in-swift)\n\n[Rustのデータ付きenumをSwift側で使いたい](https://qiita.com/niwaka_dev/items/ab4d79150ceac7c95676)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fniwakadev%2Fshared_enum_with_associated_data_between_rust_and_swift","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fniwakadev%2Fshared_enum_with_associated_data_between_rust_and_swift","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fniwakadev%2Fshared_enum_with_associated_data_between_rust_and_swift/lists"}