Cargo.toml & Cargo.lock
Në shqip përdoret i njëjti emër.
ShpjegimiSQ
Cargo.toml përshkruan projektin Rust: emrin, versionin, edicionin dhe crate-t që i duhen. Cargo.lock fikson versionet e sakta. Formati TOML është i thjeshtë për t'u lexuar.
EnglishEN
Cargo.toml describes a Rust project: its name, version, edition and the crates it needs. Cargo.lock pins the exact versions. The TOML format is easy to read.
Si ta mendosh
Si lista e përbërësve në krye të recetës.
Lexoje në anglisht
Like the ingredients list at the top of a recipe.
Shembull koditoml
[package]
name = "fjalori"
edition = "2024"
[dependencies]
serde = { version = "1", features = ["derive"] }