{"id":20173078,"url":"https://github.com/ohmycloud/rcli","last_synced_at":"2025-03-03T04:41:42.475Z","repository":{"id":234749147,"uuid":"789455231","full_name":"ohmycloud/rcli","owner":"ohmycloud","description":null,"archived":false,"fork":false,"pushed_at":"2024-04-27T07:44:38.000Z","size":30,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-24T16:14:28.157Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ohmycloud.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-04-20T15:44:10.000Z","updated_at":"2024-04-27T07:44:42.000Z","dependencies_parsed_at":"2024-04-27T08:31:16.732Z","dependency_job_id":null,"html_url":"https://github.com/ohmycloud/rcli","commit_stats":null,"previous_names":["ohmycloud/rcli"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ohmycloud%2Frcli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ohmycloud%2Frcli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ohmycloud%2Frcli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ohmycloud%2Frcli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ohmycloud","download_url":"https://codeload.github.com/ohmycloud/rcli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241610976,"owners_count":19990505,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-14T01:33:23.312Z","updated_at":"2025-03-03T04:41:42.456Z","avatar_url":"https://github.com/ohmycloud.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Geektime Rust 语言训练营\n\n## 环境设置\n\n### 安装 Rust\n\n```bash\ncurl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh\n```\n\n### 安装 VSCode 插件\n\n- crates: Rust 包管理\n- Even Better TOML: TOML 文件支持\n- Better Comments: 优化注释显示\n- Error Lens: 错误提示优化\n- GitLens: Git 增强\n- Github Copilot: 代码提示\n- indent-rainbow: 缩进显示优化\n- Prettier - Code formatter: 代码格式化\n- REST client: REST API 调试\n- rust-analyzer: Rust 语言支持\n- Rust Test lens: Rust 测试支持\n- Rust Test Explorer: Rust 测试概览\n- TODO Highlight: TODO 高亮\n- vscode-icons: 图标优化\n- YAML: YAML 文件支持\n\n### 安装 cargo generate\n\ncargo generate 是一个用于生成项目模板的工具。它可以使用已有的 github repo 作为模版生成新的项目。\n\n```bash\ncargo install cargo-generate\n```\n\n在我们的课程中，新的项目会使用 `tyr-rust-bootcamp/template` 模版生成基本的代码：\n\n```bash\ncargo generate tyr-rust-bootcamp/template\n```\n\n### 安装 pre-commit\n\npre-commit 是一个代码检查工具，可以在提交代码前进行代码检查。\n\n```bash\npipx install pre-commit\n```\n\n安装成功后运行 `pre-commit install` 即可。\n\n### 安装 Cargo deny\n\nCargo deny 是一个 Cargo 插件，可以用于检查依赖的安全性。\n\n```bash\ncargo install --locked cargo-deny\n```\n\n### 安装 typos\n\ntypos 是一个拼写检查工具。\n\n```bash\ncargo install typos-cli\n```\n\n### 安装 git cliff\n\ngit cliff 是一个生成 changelog 的工具。\n\n```bash\ncargo install git-cliff\n```\n\n### 安装 cargo nextest\n\ncargo nextest 是一个 Rust 增强测试工具。\n\n```bash\ncargo install cargo-nextest --locked\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fohmycloud%2Frcli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fohmycloud%2Frcli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fohmycloud%2Frcli/lists"}