Decision Workspace
contract-build vs ink_prelude vs ink_env
Side-by-side comparison of Rust crates
64
contract-build
stablev5.0.3
Library for building ink! smart contracts
73
ink_prelude
stablev5.1.1
[ink!] Common API for no_std and std to access alloc crate types.
73
ink_env
stablev5.1.1
[ink!] Low-level interface for interacting with the smart contract executor.
Core Metrics
| contract-build | ink_prelude | ink_env | |
|---|---|---|---|
| Health Score | 64 | 73 | 73 |
| Total Downloads | 268.4K | 538.5K | 509.8K |
| 30d Downloads | 8.1K | 15.0K | 14.2K |
| Dependents | 183 | 258 | 388 |
| Releases | 37 | 39 | 39 |
| Last Updated | 57d ago | 134d ago | 134d ago |
| Age | 3y 3m | 6y | 6y |
Health Breakdown
contract-build
Maintenance
16
Quality
15
Community
14
Popularity
6
Documentation
13
ink_prelude
Maintenance
14
Quality
21
Community
18
Popularity
7
Documentation
13
ink_env
Maintenance
14
Quality
19
Community
18
Popularity
7
Documentation
15
Technical Details
| contract-build | ink_prelude | ink_env | |
|---|---|---|---|
| Version | 5.0.3 | 5.1.1 | 5.1.1 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✓ Yes |
| License | Apache-2.0 | Apache-2.0 | Apache-2.0 |
| Dependencies | 37 | 1 | 23 |
| Crate Size | 62KB | 11KB | 58KB |
| Features | 0 | 2 | 5 |
| Yanked % | 2.7% | 2.6% | 2.6% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | — | — | 1.68 |
| Owners | 5 (team) | 3 (team) | 3 (team) |
Links
Quick Verdict
- •ink_prelude leads with a health score of 73/100, but none of the options score above 80.
- •ink_env is depended on by 388 crates — strongest ecosystem trust.