Decision Workspace
cbindgen vs csbindgen vs bindgen
Side-by-side comparison of Rust crates
58
cbindgen
growingv0.29.2
A tool for generating C bindings to Rust code.
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
| cbindgen | csbindgen | bindgen | |
|---|---|---|---|
| Health Score | 58 | 72 | 67 |
| Total Downloads | 85.5M | 590.9K | 299.4M |
| 30d Downloads | 3.5M | 42.5K | 17.1M |
| Dependents | 4.1K | 60 | 22.2K |
| Releases | 104 | 29 | 126 |
| Last Updated | 216d ago | 6d ago | 267d ago |
| Age | 9y 1m | 3y 2m | 11y 6m |
Health Breakdown
cbindgen
Maintenance
10
Quality
11
Community
17
Popularity
8
Documentation
12
csbindgen
Maintenance
19
Quality
20
Community
16
Popularity
7
Documentation
10
bindgen
Maintenance
10
Quality
14
Community
20
Popularity
8
Documentation
15
Technical Details
| cbindgen | csbindgen | bindgen | |
|---|---|---|---|
| Version | 0.29.2 | 1.9.8 | 0.72.1 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MPL-2.0 | MIT | BSD-3-Clause |
| Dependencies | 13 | 2 | 15 |
| Crate Size | 232KB | 29KB | 246KB |
| Features | 2 | 0 | 9 |
| Yanked % | 6.7% | 0.0% | 4.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | 1.74 | — | 1.70.0 |
| Owners | 2 | 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.
- •cbindgen, bindgen are pre-1.0 — API may change.