Decision Workspace
ffi_struct_derive vs ffi_struct_trait vs ffi_struct
Side-by-side comparison of Rust crates
47
ffi_struct_derive
experimentalv0.3.1
This crate is a supporting library for the `ffi_struct` crate. It provides the proc macro `FFIStruct` which is used in conjunction with the `ffi_struct_trait` crate to provide an easy way to make a struct iterable in Rust and better than `struct_iterable` since you could have more detailed manipulation to the paddings.
43
ffi_struct_trait
experimentalv0.3.0
The trait bounds for `ffi_struct`
35
ffi_struct
experimentalv0.3.1
The proc-macro crate for the Rust programming language to create structs with FFI compatibility. Also allows the members of the FFI structs to be iterable for better reflection than the crate `struct_iterable`.
Core Metrics
| ffi_struct_derive | ffi_struct_trait | ffi_struct | |
|---|---|---|---|
| Health Score | 47 | 43 | 35 |
| Total Downloads | 817 | 571 | 451 |
| 30d Downloads | 44 | 42 | 24 |
| Dependents | 3 | 3 | 1 |
| Releases | 5 | 3 | 3 |
| Last Updated | 150d ago | 150d ago | 150d ago |
| Age | 5m | 5m | 5m |
Health Breakdown
ffi_struct_derive
Maintenance
17
Quality
14
Community
5
Popularity
3
Documentation
8
ffi_struct_trait
Maintenance
12
Quality
15
Community
5
Popularity
3
Documentation
8
ffi_struct
Maintenance
12
Quality
8
Community
4
Popularity
3
Documentation
8
Technical Details
| ffi_struct_derive | ffi_struct_trait | ffi_struct | |
|---|---|---|---|
| Version | 0.3.1 | 0.3.0 | 0.3.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | non-standard | non-standard | non-standard |
| Dependencies | 3 | 0 | 2 |
| Crate Size | 15KB | 11KB | 13KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 33.3% |
| Edition | 2024 | 2024 | 2024 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •ffi_struct_derive leads with a health score of 47/100, but none of the options score above 80.