Decision Workspace
ink_allocator vs ink_prelude vs ink_env
Side-by-side comparison of Rust crates
68
ink_allocator
growingv5.1.1
[ink!] Bindings to the Wasm heap memory allocator.
68
ink_prelude
growingv5.1.1
[ink!] Common API for no_std and std to access alloc crate types.
68
ink_env
growingv5.1.1
[ink!] Low-level interface for interacting with the smart contract executor.
Core Metrics
| ink_allocator | ink_prelude | ink_env | |
|---|---|---|---|
| Health Score | 68 | 68 | 68 |
| Total Downloads | 613.2K | 640.5K | 608.2K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 76 | 258 | 389 |
| Releases | 38 | 39 | 39 |
| Last Updated | 330d ago | 330d ago | 330d ago |
| Age | 6y | 6y 6m | 6y 6m |
Health Breakdown
ink_allocator
Maintenance
10
Quality
22
Community
16
Popularity
7
Documentation
13
ink_prelude
Maintenance
9
Quality
21
Community
18
Popularity
7
Documentation
13
ink_env
Maintenance
9
Quality
19
Community
18
Popularity
7
Documentation
15
Technical Details
| ink_allocator | ink_prelude | ink_env | |
|---|---|---|---|
| Version | 5.1.1 | 5.1.1 | 5.1.1 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✓ Yes |
| License | Apache-2.0 | Apache-2.0 | Apache-2.0 |
| Dependencies | 3 | 1 | 23 |
| Crate Size | 15KB | 11KB | 58KB |
| Features | 4 | 2 | 5 |
| Yanked % | 0.0% | 2.6% | 2.6% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | — | — | 1.68 |
| Owners | 3 (team) | 3 (team) | 3 (team) |
Links
Quick Verdict
- •ink_allocator leads with a health score of 68/100, but none of the options score above 80.
- •ink_prelude has the most downloads (640.5K), suggesting wider adoption.
- •ink_env is depended on by 389 crates — strongest ecosystem trust.