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

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.

主站蜘蛛池模板: 乳山市| 平凉市| 新干县| 苍南县| 离岛区| 阿拉善盟| 芒康县| 巍山| 扬州市| 集安市| 仁怀市| 墨江| 宁夏| 浠水县| 青阳县| 伊金霍洛旗| 龙胜| 永德县| 固始县| 平武县| 丰台区| 迁西县| 徐州市| 通河县| 汉沽区| 三穗县| 黔南| 山西省| 泗洪县| 大同市| 吴堡县| 望城县| 保定市| 泰来县| 德江县| 得荣县| 依兰县| 团风县| 旺苍县| 彭州市| 康乐县|