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

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.

主站蜘蛛池模板: 嘉黎县| 虞城县| 黄山市| 墨玉县| 贵州省| 盐亭县| 邻水| 安仁县| 宁化县| 肥乡县| 六安市| 兰西县| 徐水县| 通江县| 普陀区| 永川市| 醴陵市| 新巴尔虎左旗| 张家港市| 迁安市| 商河县| 景泰县| 新泰市| 通江县| 尉犁县| 祁东县| 丹棱县| 宁陕县| 健康| 高碑店市| 阳信县| 罗定市| 昭觉县| 江口县| 怀集县| 广水市| 岳阳县| 闵行区| 彰化县| 江津市| 龙胜|