Install
bindgen
Automatically generates Rust FFI bindings to C and C++ libraries.
0.73.2Latest, 8 Sep 2026
117MDownloads, last 90 days
0Advisories on the latest
0Advisories, all versions
BSD-3-ClauseLicence
5.3KStars
5.2/10OpenSSF Scorecard
Source · Homepage · Ask AI Mode · · Markdown
In the news
- Why We Compiled a 24-Crate Rust Civil Engineering Engine to Bare wasm32-unknown-unknown (No wasm-bindgen, 69 Benchmarks) dev.to, 24 Nov 2026
- A 3.7 KB Othello Engine: Bitboards in Rust, Raw WASM, No wasm-bindgen dev.to, 22 Apr 2026
- Rust + WebAssembly Performance: JavaScript vs. wasm-bindgen vs. Raw WASM (with SIMD) dev.to, 29 Sep 2025
- How to restrict bindgen to generate bindings only for my C library functions and exclude standard library functions? stackoverflow.com, 12 Feb 2025
- Unable to resolve wasm-bindgen dependency conflict stackoverflow.com, 23 Oct 2024
On Hacker News
- JavaScript to Rust and Back Again: A Wasm-Bindgen Tale 209 points, 76 comments, 4 Apr 2018
- Bindgen – Rust tool for generating C bindings 97 points, 6 comments, 21 Dec 2017
- Flavors of enums with Rust bindgen 26 points, 5 comments, 13 Jun 2022
Sources: crates.io, deps.dev (CC BY 4.0), OSV. Last checked 4 Dec 2026.