摘要: Cargo是Rust的构建系统和包管理器。大多数Rustacean们使用Cargo来管理他们的Rust项目,因为它可以为你处理很多任务,比如构建代码、下载依赖库并编译这些库。(我们把代码所需要的库叫做依赖 dependencies)。(学习) 基本结构 当我们使用Intellij创建一个新项目,名字 阅读全文
posted @ 2021-02-23 13:19 johnny_zhao 阅读(472) 评论(0) 推荐(0) 编辑
摘要: 1. Cargo setup What is Cargo? using rustup to setup: curl https://sh.rustup.rs -sSf | sh johnnys-MacBook-Pro:~ johnny$ curl https://sh.rustup.rs -sSf| 阅读全文
posted @ 2021-02-23 11:38 johnny_zhao 阅读(473) 评论(0) 推荐(0) 编辑