Decision Workspace
duckfn vs duckfn-macro vs duckdb-ext-macros
Side-by-side comparison of Rust crates
54
duckfn
experimentalv0.0.19
Write DuckDB extensions in plain Rust: attribute macros that turn ordinary functions into scalar/aggregate/table functions, SQL macros and nested LIST/MAP/ARRAY/STRUCT types.
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.
48
duckdb-ext-macros
experimentalv0.3.0
A modern, Rust 2024 Edition compatible procedural macro for creating DuckDB loadable extensions.
Core Metrics
| duckfn | duckfn-macro | duckdb-ext-macros | |
|---|---|---|---|
| Health Score | 54 | 58 | 48 |
| Total Downloads | 589 | 661 | 1.2K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 19 | 0 |
| Releases | 19 | 19 | 3 |
| Last Updated | 4d ago | 4d ago | 81d ago |
| Age | 28d | 28d | 10m |
Health Breakdown
duckfn
Maintenance
17
Quality
13
Community
6
Popularity
3
Documentation
15
duckfn-macro
Maintenance
17
Quality
13
Community
10
Popularity
3
Documentation
15
duckdb-ext-macros
Maintenance
15
Quality
13
Community
6
Popularity
4
Documentation
10
Technical Details
| duckfn | duckfn-macro | duckdb-ext-macros | |
|---|---|---|---|
| Version | 0.0.19 | 0.0.19 | 0.3.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | MIT | MIT |
| Dependencies | 11 | 4 | 4 |
| Crate Size | 554KB | 70KB | 9KB |
| Features | 9 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2024 | 2024 |
| MSRV | 1.86 | 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.
- •duckdb-ext-macros has the most downloads (1.2K), suggesting wider adoption.