Decision Workspace
bindgen-cli vs csbindgen vs bindgen
Side-by-side comparison of Rust crates
61
bindgen-cli
growingv0.72.1
Automatically generates Rust FFI bindings to C and C++ libraries.
72
csbindgen
stablev1.9.8
Generate C# FFI from Rust for automatically brings native code and C native library to .NET and Unity.
67
bindgen
growingv0.72.1
Automatically generates Rust FFI bindings to C and C++ libraries.
Core Metrics
| bindgen-cli | csbindgen | bindgen | |
|---|---|---|---|
| Health Score | 61 | 72 | 67 |
| Total Downloads | 2.5M | 590.9K | 299.4M |
| 30d Downloads | 70.9K | 42.5K | 17.1M |
| Dependents | 0 | 60 | 22.2K |
| Releases | 22 | 29 | 126 |
| Last Updated | 267d ago | 6d ago | 267d ago |
| Age | 3y 7m | 3y 2m | 11y 6m |
Health Breakdown
bindgen-cli
Maintenance
11
Quality
16
Community
11
Popularity
8
Documentation
15
csbindgen
Maintenance
19
Quality
20
Community
16
Popularity
7
Documentation
10
bindgen
Maintenance
10
Quality
14
Community
20
Popularity
8
Documentation
15
Technical Details
| bindgen-cli | csbindgen | bindgen | |
|---|---|---|---|
| Version | 0.72.1 | 1.9.8 | 0.72.1 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | BSD-3-Clause | MIT | BSD-3-Clause |
| Dependencies | 5 | 2 | 15 |
| Crate Size | 9KB | 29KB | 246KB |
| Features | 8 | 0 | 9 |
| Yanked % | 4.5% | 0.0% | 4.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | 1.70.0 | — | 1.70.0 |
| Owners | 3 (team) | 3 (team) | 3 (team) |
Links
Quick Verdict
- •csbindgen leads with a health score of 72/100, but none of the options score above 80.
- •bindgen has the most downloads (299.4M), suggesting wider adoption.
- •bindgen is depended on by 22.2K crates — strongest ecosystem trust.
- •bindgen-cli, bindgen are pre-1.0 — API may change.