This project is inspired by https://github.com/tyr-rust-bootcamp/template
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh- Dependi: Rust package management extension
- CodeLLDB: Rust debugger
- Even Better TOML: TOML file support
- Better Comments: Enhanced comment display
- Error Lens: Improved error highlighting
- GitLens: Git enhancement
- indent-rainbow: Indentation visualization
- Prettier - Code formatter: Code formatting
- REST client: REST API debugging
- rust-analyzer: Rust language support
- Test Explorer UI: Rust test overview
- TODO Highlight: TODO highlighting
- Todo Tree: TODO list management
- vscode-icons: Icon optimization
- YAML: YAML file support
- Code Case Converter: Code case conversion
- markdownlint: Markdown syntax checking
pre-commit is a code quality tool that runs checks before committing code.
pipx install pre-commitAfter installation, run pre-commit install to set up git hooks.
Cargo deny is a Cargo plugin for dependency security auditing.
cargo install --locked cargo-denytypos is a spelling checker for code and documentation.
cargo install typos-cligit cliff is a tool for generating changelogs from git history.
cargo install git-cliffcargo nextest is an enhanced test runner for Rust projects.
cargo install cargo-nextest --lockedcargo generate is a project template generator that can create new projects from existing GitHub repositories.
cargo install cargo-generate- After installing cargo generate, create a new project using this template:
cargo generate --git https://github.com/learn-rust-projects/template- In the generated project, run
pre-commit installto set up git hooks. - Modify the
namefield inCargo.tomlto your project name and update the license if needed. - Update the content in
README.mdwith your project information. - Update the repository URL in
cliff.tomlto match your project's repository. - Make your first commit:
git add .
git commit -a
# Wait for pre-commit hooks to complete
git push- generate the changelog:
git-cliff -o CHANGELOG.md- tag the release:
git tag -a v0.1.0 -m "chore: Release wx-uploader version 0.5.1"
git push --tagsThis project is licensed under the terms of the MIT license.