{"id":15762395,"url":"https://github.com/williamvenner/fn_abi","last_synced_at":"2025-10-27T00:14:55.638Z","repository":{"id":57631229,"uuid":"409767766","full_name":"WilliamVenner/fn_abi","owner":"WilliamVenner","description":"✨ A proc attribute macro that sets the ABI/calling convention for the attributed function","archived":false,"fork":false,"pushed_at":"2022-03-07T11:44:02.000Z","size":12,"stargazers_count":3,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-19T12:45:46.917Z","etag":null,"topics":["abi","calling","convention","ffi","macro","proc-macro","proc-macro-attributes","rust","unsafe"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/fn_abi","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/WilliamVenner.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-09-23T23:06:42.000Z","updated_at":"2023-07-01T21:33:22.000Z","dependencies_parsed_at":"2022-09-26T16:40:35.958Z","dependency_job_id":null,"html_url":"https://github.com/WilliamVenner/fn_abi","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/WilliamVenner%2Ffn_abi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WilliamVenner%2Ffn_abi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WilliamVenner%2Ffn_abi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WilliamVenner%2Ffn_abi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WilliamVenner","download_url":"https://codeload.github.com/WilliamVenner/fn_abi/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249991180,"owners_count":21357218,"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":["abi","calling","convention","ffi","macro","proc-macro","proc-macro-attributes","rust","unsafe"],"created_at":"2024-10-04T11:09:00.521Z","updated_at":"2025-10-27T00:14:55.079Z","avatar_url":"https://github.com/WilliamVenner.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![crates.io](https://img.shields.io/crates/v/fn_abi.svg)](https://crates.io/crates/fn_abi)\n\n# ✨ `fn_abi`\n\nA proc attribute macro that sets the ABI/calling convention for the attributed function.\n\n## Example\n\n```rust\n#[macro_use] extern crate fn_abi;\n\n#[abi(\"fastcall\")]\nextern fn hello_world_fastcall() {\n    println!(\"hello world!\");\n}\n\n#[cfg_attr(all(target_os = \"windows\", target_pointer_width = \"32\"), abi(\"thiscall\"))]\n#[cfg_attr(all(target_os = \"windows\", target_pointer_width = \"64\"), abi(\"fastcall\"))]\nextern fn hello_world_windows() {\n    println!(\"hello world!\");\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwilliamvenner%2Ffn_abi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwilliamvenner%2Ffn_abi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwilliamvenner%2Ffn_abi/lists"}