# rust-demo **Repository Path**: maoxm/rust-demo ## Basic Information - **Project Name**: rust-demo - **Description**: rust学习 - **Primary Language**: Rust - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-05-14 - **Last Updated**: 2025-06-15 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # rust-demo #### 介绍 rust学习 #### 软件架构 软件架构说明 #### 安装教程 安装之rust环境之前, 若 windows系统上安装,先下载rustup-init.exe windows 的 cmd 上设置环境: $ENV:RUSTUP_DIST_SERVER='https://mirrors.ustc.edu.cn/rust-static' $ENV:RUSTUP_UPDATE_ROOT='https://mirrors.ustc.edu.cn/rust-static/rustup' 然后在同一个 cmd 上运行rustup-init.exe 若 macOS、Linux系统上安装,先 brew install rustup-init (通过 brew 直接安装 Rust。此安装方式不能使用 rustup 工具来管理版本,所以不推荐) 在终端上设置环境: export RUSTUP_DIST_SERVER='https://mirrors.ustc.edu.cn/rust-static' export RUSTUP_UPDATE_ROOT='https://mirrors.ustc.edu.cn/rust-static/rustup' 然后在同一个终端上运行rustup-init brew 安装 rustup 工具后,也会接管 rustup 的更新及卸载。不能再使用 rustup self update 更新升级 rustup 工具。 通过以上设置可以加快 rust 的下载和更新。以上的两个源是国内源 1. xxxx 2. xxxx #### 使用说明 1. xxxx 2. xxxx 3. xxxx #### 参与贡献 1. Fork 本仓库 2. 新建 Feat_xxx 分支 3. 提交代码 4. 新建 Pull Request #### 特技 1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md 2. Gitee 官方博客 [blog.gitee.com](https://blog.gitee.com) 3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解 Gitee 上的优秀开源项目 4. [GVP](https://gitee.com/gvp) 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目 5. Gitee 官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help) 6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)