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

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.

主站蜘蛛池模板: 礼泉县| 平舆县| 德格县| 榆树市| 曲靖市| 成武县| 呼伦贝尔市| 内丘县| 阳江市| 岳普湖县| 常宁市| 庆阳市| 红桥区| 城市| 阿拉善左旗| SHOW| 丹阳市| 黄平县| 喀什市| 尼勒克县| 长治县| 阿拉善盟| 江源县| 沧州市| 无极县| 威宁| 贡嘎县| 平南县| 鄱阳县| 改则县| 丽江市| 驻马店市| 永丰县| 铅山县| 大名县| 工布江达县| 德江县| 灵璧县| 论坛| 恩施市| 山阳县|