Cargo.toml Generator
Fill in your Rust project details and get a ready-to-paste Cargo.toml in seconds.
Package
Dependencies
Dev-Dependencies
Features (optional)
Cargo.toml
Fill in the form and click Generate Cargo.toml
Copied to clipboard!
Summary
Fill in your Rust project details and get a ready-to-paste Cargo.toml in seconds.
How it works
- Enter your package name, version, and Rust edition (2015, 2018, or 2021).
- Optionally add author names and a short description.
- Add dependencies one by one — specify the crate name and semver version.
- Add dev-dependencies (e.g. test helpers) separately if needed.
- Define optional features as comma-separated crate lists.
- Click "Generate" to produce the Cargo.toml, then copy it with one click.
Use cases
- Bootstrap a new Rust library or binary crate quickly.
- Double-check the correct Cargo.toml syntax before starting a project.
- Teach Rust beginners the structure of a package manifest.
- Generate a clean manifest template before pasting into an IDE.
- Prototype dependency lists without opening a terminal.
- Produce a minimal reproducible example manifest for bug reports.
Frequently Asked Questions
Last updated: 2026-06-09 ·
Reviewed by Nham Vu