Skip to content

chore: add VS Code Dev Container + pin toolchain#51

Merged
azerpas merged 5 commits into
azerpas:mainfrom
Mathious6:mathious6/feat/devcontainer
Nov 2, 2025
Merged

chore: add VS Code Dev Container + pin toolchain#51
azerpas merged 5 commits into
azerpas:mainfrom
Mathious6:mathious6/feat/devcontainer

Conversation

@Mathious6
Copy link
Copy Markdown
Collaborator

Why?

Make onboarding and remote dev consistent: same Rust toolchain, editor settings, and basic extensions for everyone = no local setup surprises.

What?

  • Add .devcontainer/devcontainer.json (Rust image, zsh, formatOnSave, rust-analyzer using clippy, TOML formatter alignment, default formatters).
  • Auto-install clippy & rustfmt via postCreateCommand.
  • Ship minimal extensions: rust-analyzer, vscode-lldb, even-better-toml, fill-labs.dependi.
  • Add rust-toolchain.toml pinning stable + components (rustfmt, clippy).
  • Normalize Cargo.toml formatting (align keys: no functional changes).

Main impact?

  • Faster first-run and uniform tooling across contributors.
  • Reproducible formatting/linting out of the box.
  • No behavior change to builds or runtime, dev-only improvements.

What next?

  • Add CI checks for cargo fmt --check and cargo clippy -D warnings (?)
  • Small README section.

Copy link
Copy Markdown
Owner

@azerpas azerpas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for your first PR 🥳

@azerpas azerpas merged commit b56e362 into azerpas:main Nov 2, 2025
1 check passed
@Mathious6 Mathious6 deleted the mathious6/feat/devcontainer branch November 8, 2025 20:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants