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

Package

This manifest section is all about metadata for the package, such as name, version, and authors, but also a link to the documentation that defaults to the corresponding page (https://docs.rs/). While many of these fields are there to support crates.io and display various indicators (categories, badges, repository, homepage, and so on), some fields should be filled regardless of whether they are published there, such as license (especially with open source projects).

Another interesting section is the metadata table in package.metadata, because it's ignored by cargo. This means that projects can store their own data in the manifest for project- or publishing-related properties—for example, for publishing on Android's Google Play Store, or information to generate Linux packages.

主站蜘蛛池模板: 云霄县| 吴堡县| 湖南省| 静乐县| 鹰潭市| 重庆市| 屏边| 铁岭市| 奉新县| 衡阳市| 罗甸县| 彭州市| 汉源县| 衡南县| 东港市| 赫章县| 田林县| 庆安县| 西乌珠穆沁旗| 阿拉善左旗| 望奎县| 延川县| 张家界市| 寿光市| 湾仔区| 沙坪坝区| 嘉定区| 陆丰市| 镇赉县| 长武县| 科技| 思南县| 鄂伦春自治旗| 泸水县| 兴化市| 饶平县| 丹凤县| 睢宁县| 阳春市| 和平县| 许昌县|