rust-bindgen
https://github.com/rust-lang/rust-bindgen
Rust
Automatically generates Rust FFI bindings to C (and some C++) libraries.
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
Rust not yet supported2 Subscribers
Add a CodeTriage badge to rust-bindgen
Help out
- Issues
- Doesn't handle `static const` structs correctly
- [Objc] Objective-c category names are not unique and can cause duplicate names
- Option to use *mut objc::runtime::Object
- File decode support
- Add Option return types to Objective-c for nullability attributes
- Option to output opaque type as `c_void`
- Duplicate definitions with forward declared pointer types
- `.clang_arg("-x c++")` causes failure in `generate`
- bindgen shouldn't generate f32 for c floats
- the name <whatever> is defined multiple times + cannot find `T` in this scope
- Docs
- Rust not yet supported