Decision Workspace
ink_env vs ink_prelude vs ink_primitives
Side-by-side comparison of Rust crates
71
ink_env
stablev5.1.1
[ink!] Low-level interface for interacting with the smart contract executor.
71
ink_prelude
stablev5.1.1
[ink!] Common API for no_std and std to access alloc crate types.
70
ink_primitives
stablev5.1.1
[ink!] Fundamental primitive types for ink! smart contracts.
Core Metrics
| ink_env | ink_prelude | ink_primitives | |
|---|---|---|---|
| Health Score | 71 | 71 | 70 |
| Total Downloads | 546.0K | 576.2K | 572.8K |
| 30d Downloads | 18.5K | 19.2K | 19.1K |
| Dependents | 388 | 258 | 429 |
| Releases | 39 | 39 | 39 |
| Last Updated | 193d ago | 193d ago | 193d ago |
| Age | 6y 2m | 6y 2m | 6y 2m |
Health Breakdown
ink_env
Maintenance
12
Quality
19
Community
18
Popularity
7
Documentation
15
ink_prelude
Maintenance
12
Quality
21
Community
18
Popularity
7
Documentation
13
ink_primitives
Maintenance
12
Quality
20
Community
18
Popularity
7
Documentation
13
Technical Details
| ink_env | ink_prelude | ink_primitives | |
|---|---|---|---|
| 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 | 23 | 1 | 7 |
| Crate Size | 58KB | 11KB | 13KB |
| Features | 5 | 2 | 2 |
| Yanked % | 2.6% | 2.6% | 2.6% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | 1.68 | — | — |
| Owners | 3 (team) | 3 (team) | 3 (team) |
Links
Quick Verdict
- •ink_env leads with a health score of 71/100, but none of the options score above 80.
- •ink_prelude has the most downloads (576.2K), suggesting wider adoption.
- •ink_primitives is depended on by 429 crates — strongest ecosystem trust.