Decision Workspace
feature-gate vs surrealdb-extras-proc-macro vs placenew
Side-by-side comparison of Rust crates
34
feature-gate
growingv0.1.1
A simple macro for feature-gating modules and types
49
surrealdb-extras-proc-macro
stablev2.0.14
A `cargo generate` template for quick-starting a procedural macro crate
48
placenew
experimentalv2.0.1
A crate providing the macro 'place_boxed' which allows you to create a object in-place on the heap using the normal struct initializer, the macro uses Box::new_uninit(), initializes all members using the values from the struct initializer, and then calls .assume_init() for regular value types => writes the expression in-place for array types ([T; N]) => generates a for loop for expressions such as [0; 100], and generates a sequence of arr[i] = v for an expression such as [0, 1, 2, 3]
Core Metrics
| feature-gate | surrealdb-extras-proc-macro | placenew | |
|---|---|---|---|
| Health Score | 34 | 49 | 48 |
| Total Downloads | 2.8K | 9.6K | 91 |
| 30d Downloads | 4 | 43 | 91 |
| Dependents | 0 | 23 | 0 |
| Releases | 2 | 11 | 6 |
| Last Updated | 1033d ago | 34d ago | 19d ago |
| Age | 2y 10m | 2y 1m | 21d |
Health Breakdown
feature-gate
Maintenance
4
Quality
15
Community
3
Popularity
4
Documentation
8
surrealdb-extras-proc-macro
Maintenance
16
Quality
12
Community
7
Popularity
5
Documentation
9
placenew
Maintenance
18
Quality
16
Community
3
Popularity
2
Documentation
9
Technical Details
| feature-gate | surrealdb-extras-proc-macro | placenew | |
|---|---|---|---|
| Version | 0.1.1 | 2.0.14 | 2.0.1 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | non-standard | MIT | MIT |
| Dependencies | 2 | 4 | 3 |
| Crate Size | 7KB | 5KB | 4KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 45.5% | 0.0% |
| Edition | 2021 | 2018 | 2018 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •surrealdb-extras-proc-macro leads with a health score of 49/100, but none of the options score above 80.
- •⚠ feature-gate has not been updated in over a year.
- •feature-gate is pre-1.0 — API may change.