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 supported1 Subscribers
Add a CodeTriage badge to rust-bindgen
Help out
- Issues
- Do not derive Clone/Copy/etc for opaque types
- Add an option to generate layout tests in a different file.
- bindgen is slow in a particular project
- Generated bindings don't compile
- Use MaybeUninit<> for generated padding where available.
- bindgen with rustfmt disabled generates bindings on one line
- Signedness mismatch
- std dependencies when `use_core` is used: new approach
- bindgen needs a way to block a type alias without blocking things that depend on it
- `--no-derive-copy` causes all union bindings to use `__BindgenUnionField` even when a native Rust union would be safe
- Docs
- Rust not yet supported