rustp-18.cargo发布和撤回
Cargo 发布和撤回
crate发布和撤回:
- 创建crates.io账户,通过cargo login ***来登录
- 发布前增加描述:
[package]
name = “package_name”
version = “0.1.0”
license = “MIT”
authors = [“name”]
description = “some thing description the package” -
cargo publish
1 | 可以进行发布 |
Comment