← [ BACK_TO_NOTES ]

Rust 工具链与工程结构 MOC

rustup、Cargo、模块可见性、workspace 与项目分层的工程导航。

#moc #growing #dev #rust

[!info] related notes

Rust 工具链与工程结构 MOC

知识总览

filters:
  and:
    - 'file.ext == "md"'
    - 'file.inFolder("z")'
    - 'this.file.links.contains(file)'
    - 'file.path != this.file.path'
formulas:
  knowledge: 'file.asLink(title)'
properties:
  formula.knowledge:
    displayName: 知识
  note.description:
    displayName: Description
  note.mastery:
    displayName: Mastery
views:
  - type: table
    name: 知识总览
    order:
      - formula.knowledge
      - note.description
      - note.mastery
    columnSize:
      formula.knowledge: 280
      note.description: 760
      note.mastery: 56

这个概念为什么出现

Rust 的日常体验高度绑定 Cargo 与模块系统。没有工程地图,容易停留在单文件 playground 习惯。

从这里开始

  1. 安装并运行第一个程序
  2. Rustup
  3. Cargo · Cargo 命令速查
  4. 模块、crate 与可见性
  5. Cargo workspace
  6. 项目结构与分层

继续深入

创建于 2026/7/15 更新于 2026/7/15
Digital Biome
Access

键盘导航

j / k / ↑ / ↓
选择对象
Enter / o
打开选择
/ 或 Ctrl+K
全站搜索
i / f / 1–4
筛选当前列表
g → h / l / p / t / a
首页 / 笔记 / 项目 / 工具 / About
r → 1–9
打开所选对象的关联
u
返回上一页
Esc
关闭浮层 / 取消命令;输入框内清空文本