官术网_书友最值得收藏!

The manifest – Cargo.toml

The Cargo.toml file follows—as the name suggests—the TOML structure. It's handwritten and contains metadata about the project as well as dependencies, links to other resources, build profiles, examples, and much more. Most of them are optional and have reasonable defaults. In fact, the cargo new command generates the minimal version of a manifest:

[package]
name = "ch2"
version = "0.1.0"
authors = ["Claus Matzinger"]
edition = "2018"

[dependencies]

There are many more sections and properties, and we will present a few important ones here.

主站蜘蛛池模板: 胶南市| 洮南市| 文安县| 石台县| 麻栗坡县| 北流市| 莱西市| 贵定县| 林周县| 汤阴县| 澄迈县| 余姚市| 从江县| 扬州市| 东乡县| 双流县| 明光市| 平武县| 株洲市| 磐石市| 工布江达县| 谢通门县| 东港市| 县级市| 辽宁省| 舞钢市| 金门县| 自治县| 沧州市| 中山市| 桃园市| 深州市| 山东省| 弥渡县| 达尔| 长岭县| 海兴县| 凤山市| 扎囊县| 裕民县| 望谟县|