Install official rust extension
Add to your settings.json
:
json
"[rust]": {
"editor.defaultFormatter": "rust-lang.rust-analyzer",
"editor.formatOnSave": true
}
sh
make build
make run
sh
make build-prod
make run-prod
https://github.com/vercel-community/rust