You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
trpl-zh-cn/src/ch14-00-more-about-cargo.md

15 lines
798 B

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

# 进一步认识 Cargo 和 Crates.io
<!-- https://github.com/rust-lang/book/blob/main/src/ch14-00-more-about-cargo.md -->
<!-- commit 3a30e4c1fbe641afc066b3af9eb01dcdf5ed8b24 -->
目前为止我们只使用过 Cargo 构建、运行和测试代码这些最基本的功能,不过它还可以做到更多。本章会讨论 Cargo 其他一些更为高级的功能,我们将展示如何:
- 使用发布配置release profiles来自定义构建
- 将库发布到 [crates.io](https://crates.io)
- 使用工作空间workspaces来组织更大的项目
- 从 [crates.io](https://crates.io) 安装二进制文件
- 使用自定义的命令来扩展 Cargo
Cargo 的功能不止本章所介绍的,关于其全部功能的详尽解释,请查看[文档](http://doc.rust-lang.org/cargo/)