Decision Workspace
libsgc-c vs libsgc-rs vs libffi
Side-by-side comparison of Rust crates
46
libsgc-c
experimentalv0.1.1
C ABI for libsgc: libsgc.h/sgc.hpp headers plus the sgc shared and static libraries
46
libsgc-rs
experimentalv0.2.0
Rust client library for the simple-graphics-controller daemon: acquire a display lease and its input devices, and drive the revoke/re-grant session
75
libffi
stablev5.2.0
Rust bindings for libffi
Core Metrics
| libsgc-c | libsgc-rs | libffi | |
|---|---|---|---|
| Health Score | 46 | 46 | 75 |
| Total Downloads | 24 | 39 | 3.7M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 2 | 660 |
| Releases | 2 | 2 | 48 |
| Last Updated | 26d ago | 26d ago | 56d ago |
| Age | 26d | 26d | 10y 4m |
Health Breakdown
libsgc-c
Maintenance
12
Quality
14
Community
6
Popularity
2
Documentation
12
libsgc-rs
Maintenance
12
Quality
13
Community
7
Popularity
2
Documentation
12
libffi
Maintenance
15
Quality
23
Community
17
Popularity
8
Documentation
12
Technical Details
| libsgc-c | libsgc-rs | libffi | |
|---|---|---|---|
| Version | 0.1.1 | 0.2.0 | 5.2.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | Unlicense | Unlicense | MIT OR Apache-2.0 |
| Dependencies | 2 | 4 | 3 |
| Crate Size | 20KB | 19KB | 36KB |
| Features | 0 | 0 | 5 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2024 | 2021 |
| MSRV | 1.85 | 1.85 | 1.78 |
| Owners | 1 | 1 | 4 |
Links
Quick Verdict
- •libffi leads with a health score of 75/100, but none of the options score above 80.
- •libffi is depended on by 660 crates — strongest ecosystem trust.
- •libsgc-c, libsgc-rs are pre-1.0 — API may change.