# 克隆
git clone https://github.com/YOUR_USERNAME/socks5-proxy.git
cd socks5-proxy
# 构建
cargo build
# 测试
cargo test
# 格式化
cargo fmt
# Lint
cargo clippy- Fork 仓库
- 创建分支:
git checkout -b feature/xxx - 提交更改:
git commit -m "feat: add xxx" - 推送:
git push origin feature/xxx - 创建 Pull Request
feat: 新功能
fix: 修复 bug
docs: 文档更新
refactor: 重构
test: 测试
chore: 构建/工具
-
cargo test通过 -
cargo fmt格式化 -
cargo clippy无警告 - 更新相关文档