Decision Workspace
cargo-contract vs ink_prelude vs ink_env
Side-by-side comparison of Rust crates
59
cargo-contract
stablev5.0.3
Setup and deployment tool for developing smart contracts via ink!
71
ink_prelude
stablev5.1.1
[ink!] Common API for no_std and std to access alloc crate types.
71
ink_env
stablev5.1.1
[ink!] Low-level interface for interacting with the smart contract executor.
Core Metrics
| cargo-contract | ink_prelude | ink_env | |
|---|---|---|---|
| Health Score | 59 | 71 | 71 |
| Total Downloads | 152.4K | 576.2K | 546.0K |
| 30d Downloads | 2.3K | 19.2K | 18.5K |
| Dependents | 0 | 258 | 388 |
| Releases | 73 | 39 | 39 |
| Last Updated | 116d ago | 193d ago | 193d ago |
| Age | 7y 1m | 6y 2m | 6y 2m |
Health Breakdown
cargo-contract
Maintenance
13
Quality
16
Community
11
Popularity
6
Documentation
13
ink_prelude
Maintenance
12
Quality
21
Community
18
Popularity
7
Documentation
13
ink_env
Maintenance
12
Quality
19
Community
18
Popularity
7
Documentation
15
Technical Details
| cargo-contract | ink_prelude | ink_env | |
|---|---|---|---|
| Version | 5.0.3 | 5.1.1 | 5.1.1 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✓ Yes |
| License | GPL-3.0 | Apache-2.0 | Apache-2.0 |
| Dependencies | 35 | 1 | 23 |
| Crate Size | 115KB | 11KB | 58KB |
| Features | 4 | 2 | 5 |
| Yanked % | 1.4% | 2.6% | 2.6% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | — | — | 1.68 |
| Owners | 3 (team) | 3 (team) | 3 (team) |
Links
Quick Verdict
- •ink_prelude leads with a health score of 71/100, but none of the options score above 80.
- •ink_env is depended on by 388 crates — strongest ecosystem trust.