Decision Workspace
cargo-dockerfile vs dockgen vs dockerfile-rs
Side-by-side comparison of Rust crates
37
cargo-dockerfile
growingv0.1.1
cargo dockerfile is a cargo plugin for generating Dockerfiles out of your Rust project
43
dockgen
experimentalv0.1.0
Blazing fast CLI for deterministic Dockerfile, .dockerignore, and docker-compose.yml generation
37
dockerfile-rs
growingv0.3.0
Correct Dockerfile generator library
Core Metrics
| cargo-dockerfile | dockgen | dockerfile-rs | |
|---|---|---|---|
| Health Score | 37 | 43 | 37 |
| Total Downloads | 2.0K | 19 | 11.0K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 0 | 0 |
| Releases | 2 | 1 | 7 |
| Last Updated | 403d ago | 47d ago | 2745d ago |
| Age | 4y | 1m | 7y 7m |
Health Breakdown
cargo-dockerfile
Maintenance
4
Quality
14
Community
5
Popularity
4
Documentation
10
dockgen
Maintenance
10
Quality
10
Community
6
Popularity
2
Documentation
15
dockerfile-rs
Maintenance
3
Quality
12
Community
5
Popularity
5
Documentation
12
Technical Details
| cargo-dockerfile | dockgen | dockerfile-rs | |
|---|---|---|---|
| Version | 0.1.1 | 0.1.0 | 0.3.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | MIT OR Apache-2.0 | Apache-2.0 OR MIT |
| Dependencies | 5 | 18 | 0 |
| Crate Size | 10KB | 104KB | 13KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 14.3% |
| Edition | 2021 | 2021 | 2018 |
| MSRV | — | 1.75.0 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •dockgen leads with a health score of 43/100, but none of the options score above 80.
- •dockerfile-rs has the most downloads (11.0K), suggesting wider adoption.
- •⚠ cargo-dockerfile, dockerfile-rs have not been updated in over a year.