Decision Workspace
swiftui-native-macros vs xrune-incant vs declarative-gpui
Side-by-side comparison of Rust crates
49
swiftui-native-macros
experimentalv0.0.1
The swiftui! macro — SwiftUI's declarative syntax, lowered to swiftui-native's DSL
54
xrune-incant
experimentalv1.10.1
Proc macro entry point for the xrune declarative DSL framework
51
declarative-gpui
experimentalv0.3.0
Declarative ui! macro for building GPUI element trees with Tailwind-style tokens at zero runtime cost
Core Metrics
| swiftui-native-macros | xrune-incant | declarative-gpui | |
|---|---|---|---|
| Health Score | 49 | 54 | 51 |
| Total Downloads | 16 | 1.8K | 77 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 1 | 18 | 0 |
| Releases | 1 | 18 | 3 |
| Last Updated | 12d ago | 3d ago | 32d ago |
| Age | 12d | 5m | 3m |
Health Breakdown
swiftui-native-macros
Maintenance
12
Quality
14
Community
7
Popularity
1
Documentation
15
xrune-incant
Maintenance
19
Quality
13
Community
8
Popularity
4
Documentation
10
declarative-gpui
Maintenance
17
Quality
14
Community
6
Popularity
2
Documentation
12
Technical Details
| swiftui-native-macros | xrune-incant | declarative-gpui | |
|---|---|---|---|
| Version | 0.0.1 | 1.10.1 | 0.3.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | GPL-3.0 | MIT | MIT OR Apache-2.0 |
| Dependencies | 3 | 4 | 2 |
| Crate Size | 20KB | 3KB | 13KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 5.6% | 0.0% |
| Edition | 2021 | 2024 | 2024 |
| MSRV | 1.82 | — | 1.88 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •xrune-incant leads with a health score of 54/100, but none of the options score above 80.
- •swiftui-native-macros, declarative-gpui are pre-1.0 — API may change.