{"id":16647721,"url":"https://github.com/sachaarbonel/dodge","last_synced_at":"2026-06-19T01:31:28.955Z","repository":{"id":143668152,"uuid":"218620158","full_name":"sachaarbonel/dodge","owner":"sachaarbonel","description":"To be : bridge Dart and Rust code with ease through proc macros","archived":false,"fork":false,"pushed_at":"2019-11-05T09:42:37.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-12T05:24:27.204Z","etag":null,"topics":["dart","ffi","generator","proc-macro","proc-macro-attributes","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sachaarbonel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2019-10-30T20:33:58.000Z","updated_at":"2020-01-15T08:25:16.000Z","dependencies_parsed_at":"2023-05-22T03:30:36.402Z","dependency_job_id":null,"html_url":"https://github.com/sachaarbonel/dodge","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sachaarbonel/dodge","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sachaarbonel%2Fdodge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sachaarbonel%2Fdodge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sachaarbonel%2Fdodge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sachaarbonel%2Fdodge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sachaarbonel","download_url":"https://codeload.github.com/sachaarbonel/dodge/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sachaarbonel%2Fdodge/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34514282,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-18T02:00:06.871Z","response_time":128,"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":["dart","ffi","generator","proc-macro","proc-macro-attributes","rust"],"created_at":"2024-10-12T08:45:36.138Z","updated_at":"2026-06-19T01:31:28.923Z","avatar_url":"https://github.com/sachaarbonel.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# A set of proc macros for generating a C API automatically\n\n## Usage\n\n```rust\nuse dodge::wrapper;\n\n#[wrapper]\nfn add(a: i32, b: i32) -\u003e i32 {\n    a + b\n}\n\n// Expand to\n// fn add(a: i32, b: i32) -\u003e i32 { a + b }\n// #[no_mangle]\n// pub extern \"C\" fn rust_add(a: i32, b: i32) -\u003e i32 { add(a, b) }\n\n\nfn main() {\n    add(1, 2);\n}\n\n\n```\n\n\n# TODOs\n- [x] function\n- [ ] method\n- [ ] class\n- [ ] list all public facing struct, impl traits of a trait etc and generate wrapper around them","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsachaarbonel%2Fdodge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsachaarbonel%2Fdodge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsachaarbonel%2Fdodge/lists"}