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

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.

主站蜘蛛池模板: 陵水| 五河县| 鸡西市| 元谋县| 山阳县| 增城市| 土默特左旗| 黄陵县| 从江县| 正镶白旗| 青川县| 保定市| 兴仁县| 堆龙德庆县| 宁乡县| 公主岭市| 汾阳市| 巩留县| 海门市| 罗定市| 简阳市| 玛沁县| 博野县| 奇台县| 丹寨县| 江口县| 白朗县| 洛扎县| 乐昌市| 德格县| 类乌齐县| 东台市| 宣威市| 云林县| 田林县| 广水市| 叶城县| 扎赉特旗| 东阳市| 南靖县| 北京市|