Define package metadata and edition.
Section: Manifest basics
Minimal package manifest
toml
toml
[package]
name = "hello-cli"
version = "0.1.0"
edition = "2021"Explanation
`Cargo.toml` is the package manifest written in TOML.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Manifest basics