Decision Workspace
loft-ffi-macros vs duckfn-macro vs loft-ffi
Side-by-side comparison of Rust crates
41
loft-ffi-macros
experimentalv0.1.0
Proc-macro for loft native extensions: #[loft_native] generates the uniform marshal bridge (plan-25 FFI generated-dispatch)
58
duckfn-macro
experimentalv0.0.19
Procedural macros for duckfn: generate DuckDB scalar, aggregate and table functions, SQL macros and STRUCT types from plain Rust code.
53
loft-ffi
experimentalv0.1.2
Helpers for writing loft native extension cdylibs
Core Metrics
| loft-ffi-macros | duckfn-macro | loft-ffi | |
|---|---|---|---|
| Health Score | 41 | 58 | 53 |
| Total Downloads | 12.3K | 661 | 13.6K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 19 | 0 |
| Releases | 1 | 19 | 3 |
| Last Updated | 131d ago | 4d ago | 11d ago |
| Age | 4m | 28d | 4m |
Health Breakdown
loft-ffi-macros
Maintenance
7
Quality
14
Community
5
Popularity
5
Documentation
10
duckfn-macro
Maintenance
17
Quality
13
Community
10
Popularity
3
Documentation
15
loft-ffi
Maintenance
18
Quality
15
Community
5
Popularity
5
Documentation
10
Technical Details
| loft-ffi-macros | duckfn-macro | loft-ffi | |
|---|---|---|---|
| Version | 0.1.0 | 0.0.19 | 0.1.2 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | LGPL-3.0-or-later | MIT | LGPL-3.0-or-later |
| Dependencies | 3 | 4 | 0 |
| Crate Size | 6KB | 70KB | 13KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2024 | 2024 |
| MSRV | — | 1.86 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •duckfn-macro leads with a health score of 58/100, but none of the options score above 80.
- •loft-ffi has the most downloads (13.6K), suggesting wider adoption.