# Xoodo Rust **Repository Path**: zjsxuser/xoodo_rust ## Basic Information - **Project Name**: Xoodo Rust - **Description**: 企业一站式解决方案 - **Primary Language**: Rust - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2025-03-20 - **Last Updated**: 2025-04-01 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Xoodo Rust #### 介绍 企业一站式解决方案 #### 软件架构 软件架构说明 # 步骤一:更新rustup工具链管理器 rustup self update # 步骤二:升级稳定版Rust编译器 rustup update stable # 步骤三:验证新版本(应显示≥1.82.0) rustc --version # 预期输出:rustc 1.82.0 (a77034630 2024-06-10) # 步骤四:设置默认工具链(可选) rustup default stable # 步骤五:清理并重新构建项目 cargo clean && maturin build --release # 设置清华镜像 export RUSTUP_DIST_SERVER=https://mirrors.tuna.tsinghua.edu.cn/rustup # 查看已安装的所有工具链版本:rustup show # 如果需要回退版本: rustup install 1.81.0 # 安装旧版本 rustup default 1.81.0 # 设置为默认 #### 安装MAC开发环境 1. which python3 2. /opt/homebrew/bin/python3 -m venv venv310 3. source venv310/bin/activate 4. pip3 install maturin -i https://pypi.mirrors.ustc.edu.cn/simple/ 5. pip install --upgrade pip -i https://pypi.mirrors.ustc.edu.cn/simple/ 6. maturin init 7. maturin develop 8. cargo doc --open 9. maturin build --release 编译 10. cargo doc --open 运行 cargo doc 生成 Rust 本地文档(仅供 Rust 代码参考) pip3 install --force-reinstall /Users/amos/Documents/Gitee/Rust/xoodo_rust/target/wheels/xoodo_rust-0.1.0-cp312-cp312-macosx_11_0_arm64.whl source /Users/amos/Documents/Gitee/env3100/bin/activate 10. pip3 install --force-reinstall /Users/amos/Documents/Gitee/Rust/xoodo_rust/target/wheels/xoodo_rust-0.1.0-cp310-cp310-macosx_11_0_arm64.whl 通义开发平台 https://developer.aliyun.com/article/1629426 # 编译时增加混淆 RUSTFLAGS="-C opt-level=z -C embed-bitcode=yes" cargo build --release #### 安装Windows开发环境 1. python -m venv venv310 2. .\venv310\Scripts\activate 3. source venv310/bin/activate 4. pip3 install maturin -i https://pypi.mirrors.ustc.edu.cn/simple/ 5. pip install --upgrade pip 6. maturin init 7. maturin develop 8. rustup update stable 更新到最新版本 9. maturin build --release #### 安装Windows开发环境 1. python -m venv venv310 2. .\venv310\Scripts\activate 3. source venv310/bin/activate 4. pip3 install maturin -i https://pypi.mirrors.ustc.edu.cn/simple/ 5. pip install --upgrade pip 6. maturin init 7. maturin develop 8. rustup update stable 更新到最新版本 9. maturin build --release #### 使用说明 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/)