Rust 程序设计语言 简体中文版 1.85.0Rust 中文社区翻译。 本书的当前版本假设你使用 Rust 1.85.0(2025-02-17 发布)或更高版本并在所有项目的 Cargo.toml 文件中通过 edition = "2024"将其配置为使用 Rust 2024 edition 惯用法。请查 看第一章的 “安装” 部分了解如何安装和升级 Rust。 本书的英文原版 HTML 格式可以在 https://doc.rust-lang.org/stable/book/ Cargo.toml 文件。它应该看起来与示例 1-2 中代码类似: 文件名:Cargo.toml [package] name = "hello_cargo" version = "0.1.0" edition = "2024" 18/562Rust 程序设计语言 简体中文版 [dependencies] 这个文件使用 TOML (Tom’s Obvious, Minimal Language) 标题,表明下面的语句用来配置一个包。随着我们 在这个文件增加更多的信息,还将增加其他 section。 接下来的三行设置了 Cargo 编译程序所需的配置:项目的名称、项目的版本以及要使用的 Rust 版本。附录 E 会介绍 edition 的值。 最后一行,[dependencies],是罗列项目依赖的 section 的开始。在 Rust 中,代码包被称为 crates。这个项目并不需要其他的 crate,不过在第二章的第一个项目会用到依赖,那时会用0 码力 | 562 页 | 3.23 MB | 29 天前3
Deploy VTA on Intel FPGADEPLOY VTA ON INTEL FPGA Step 1: Get DE10-Nano and download & install Quartus Prime 18.1 Lite Edition Step 2: Download SDCard Image from Terasic (Require Registration) Step 3: Get files from https://github0 码力 | 12 页 | 1.35 MB | 5 月前3
Pomodoro Techniquetypically experience deep enjoyment, creativity, and a total involvement with life. In this new edition of his groundbreaking classic work, Csikszentmihalyi demonstrates the ways this positive state0 码力 | 3 页 | 289.16 KB | 5 月前3
Trends Artificial Intelligence
saber rattling. The pros Stuart Russell and Peter Norvig went deep on these topics in the Fourth Edition (2020) of their 1,116-page classic ‘Artificial Intelligence: A Modern Approach’ (link here), and0 码力 | 340 页 | 12.14 MB | 5 月前3
共 4 条
- 1













