Cargo.toml
Manifest and dependencies.
The Manifest
Cargo.toml is the manifest file at the root of every Rust project. It describes the package and its dependencies using the TOML format.
The [package] Section
The [package] table holds metadata about your crate.
name— the crate nameversion— semantic versionedition— the Rust edition (e.g. 2021)
[package]
name = "my_app"
version = "0.1.0"
edition = "2021"