x-i18n: generated_at: “2026-03-01T15:09:14Z” model: gemini-3-flash-preview provider: google-gemini-cli source_hash: d7966031794dd1473247c82eeaba3fc9b5a32fa32ec4817686e9d9a6bebbbf48 source_path: title-page.md workflow: 16
Rust 编程语言 (The Rust Programming Language)
The Rust Programming Language
作者:Steve Klabnik、Carol Nichols 和 Chris Krycho,以及来自 Rust 社区的贡献者
by Steve Klabnik, Carol Nichols, and Chris Krycho, with contributions from the Rust Community
本书版本假设你使用的是 Rust 1.90.0(2025-09-18 发布)或更高版本,并在所有项目的 Cargo.toml 文件中设置了 edition = "2024" ,以配置它们使用 Rust 2024 版本 (Edition) 的惯用法。关于安装或更新 Rust 的说明,请参阅第 1 章的“安装”部分,关于版本的详细信息,请参阅附录 E。
This version of the text assumes you’re using Rust 1.90.0 (released 2025-09-18)
or later with edition = "2024" in the Cargo.toml file of all projects to
configure them to use Rust 2024 Edition idioms. See the “Installation” section
of Chapter 1 for instructions on installing or
updating Rust, and see Appendix E for information
on editions.
HTML 格式可以在线访问 https://doc.rust-lang.org/stable/book/,也可以在通过 rustup 安装的 Rust 中离线访问;运行 rustup doc --book 即可打开。
The HTML format is available online at
https://doc.rust-lang.org/stable/book/
and offline with installations of Rust made with rustup; run rustup doc --book to open.
同时也提供了一些社区翻译版本。
Several community translations are also available.
本书由 No Starch Press 出版了纸质版和电子书格式。
This text is available in paperback and ebook format from No Starch Press.
🚨 想要更具互动性的学习体验吗?试试另一个版本的 Rust 教程,它具有以下特色:测验、高亮显示、可视化效果等: https://rust-book.cs.brown.edu
🚨 Want a more interactive learning experience? Try out a different version of the Rust Book, featuring: quizzes, highlighting, visualizations, and more: https://rust-book.cs.brown.edu