{"id":13815590,"url":"https://github.com/michaelwu/RustKit","last_synced_at":"2025-05-15T09:32:38.826Z","repository":{"id":52381901,"uuid":"139261765","full_name":"michaelwu/RustKit","owner":"michaelwu","description":"Fast and ergonomic Rust bindings for ObjC APIs","archived":false,"fork":false,"pushed_at":"2019-03-03T18:14:15.000Z","size":52,"stargazers_count":154,"open_issues_count":5,"forks_count":8,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-10-31T11:51:56.639Z","etag":null,"topics":["rust","rust-bindings"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/michaelwu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-06-30T16:01:59.000Z","updated_at":"2024-10-08T16:42:42.000Z","dependencies_parsed_at":"2022-09-03T15:13:02.774Z","dependency_job_id":null,"html_url":"https://github.com/michaelwu/RustKit","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/michaelwu%2FRustKit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaelwu%2FRustKit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaelwu%2FRustKit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaelwu%2FRustKit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/michaelwu","download_url":"https://codeload.github.com/michaelwu/RustKit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225342796,"owners_count":17459475,"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","rust-bindings"],"created_at":"2024-08-04T04:03:38.316Z","updated_at":"2024-11-19T11:30:45.882Z","avatar_url":"https://github.com/michaelwu.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"# RustKit\nFast and ergonomic Rust bindings for ObjC APIs\n\nRustKit is currently under development. Please try it if you want to contribute or provide feedback on the generated bindings.\n\n## Prerequisites\nClang 8.0 (currently trunk) with a [patch](https://reviews.llvm.org/D50318) is currently required. Build clang and set the `LIBCLANG_PATH` environmental variable to the directory that `libclang.dylib` is in, which should be in the `lib` directory of your clang/llvm build directory.\n\n## Example\n\n```\nextern crate rustkit;\n\nuse rustkit::NSObject;\n\nfn main() {\n    let obj = NSObject::new();\n    \n    let desc = NSObject::description();\n    let desc = desc.unwrap();\n    let desclen = desc.length();\n    let ruststr: String =\n        (0..desclen).map(|i|\n                         std::char::from_u32(desc.characterAtIndex_(i) as u32).\n                         unwrap()).collect();\n    println!(\"NSObject::description(): {}\", ruststr);\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichaelwu%2FRustKit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmichaelwu%2FRustKit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichaelwu%2FRustKit/lists"}