Config Files · 1 file
Sample Cargo.toml File
Cargo.toml is the manifest for Rust crates. Our sample is realistic and valid for its tool, with fake hosts and secrets.
Cargo.toml · 369 B
Cargo.toml
A Rust Cargo manifest with package metadata, versioned and feature-flagged dependencies, dev-dependencies and a release profile. All hosts, keys and secrets are fake.
CC0 · free for any use · Verified by an independent tool · Report a problem
# Sample Cargo.toml — samplefiles.com
[package]
name = "sample-app"
version = "1.4.2"
edition = "2021"
license = "CC0-1.0"
[dependencies]
serde = { version = "1.0", features = ["derive"] }
tokio = { version = "1", features = ["rt-multi-thread", "macros"] }
anyhow = "1.0"
[dev-dependencies]
pretty_assertions = "1.4"
[profile.release]
lto = true
codegen-units = 1File details
Download from the command line
curl -L -o Cargo.toml https://files.samplefiles.com/config/cargo-toml/Cargo.tomlwget https://files.samplefiles.com/config/cargo-toml/Cargo.tomlhttps://files.samplefiles.com/config/cargo-toml/Cargo.tomlprintf '%s %s\n' f6e929cd298c9a14d74cd4a079cd38ffe036e7712cb28732c044397fe2afd135 Cargo.toml | shasum -a 256 -cOr check the download in your browser with the checksum calculator.