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

Getting ready

First, create a new project using cargo new iteration --lib and add the following to the newly created Cargo.toml file in the project's directory:

[dev-dependencies]
rand = "^0.5"

This adds a dependency to the rand (https://github.com/rust-random/rand) crate to the project, which will be installed upon running cargo test the first time. Open the entire project (or the src/lib.rs file) in Visual Studio Code.

主站蜘蛛池模板: 页游| 荔浦县| 手游| 上蔡县| 磐石市| 台安县| 黄骅市| 镇宁| 铜鼓县| 交口县| 靖远县| 日喀则市| 新巴尔虎右旗| 乌兰浩特市| 宣威市| 义乌市| 旬阳县| 吉林省| 武隆县| 红桥区| 德安县| 上犹县| 农安县| 唐山市| 兴义市| 尖扎县| 三门峡市| 靖江市| 彩票| 平昌县| 肥东县| 沙雅县| 正安县| 南岸区| 五河县| 维西| 土默特右旗| 安西县| 盐山县| 金乡县| 勐海县|