{"id":19014295,"url":"https://github.com/elemental-mind/rust-win-vscode-template","last_synced_at":"2026-05-16T06:35:52.320Z","repository":{"id":252299748,"uuid":"840019371","full_name":"elemental-mind/rust-win-vscode-template","owner":"elemental-mind","description":"Get started with Rust on Windows with VSCode and out-of-the-box debugging","archived":false,"fork":false,"pushed_at":"2024-08-08T20:39:06.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-11T06:31:47.758Z","etag":null,"topics":["debugging","rust","vscode","windows"],"latest_commit_sha":null,"homepage":"","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/elemental-mind.png","metadata":{"files":{"readme":"README.md","changelog":null,"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-08-08T19:54:26.000Z","updated_at":"2024-08-08T20:39:09.000Z","dependencies_parsed_at":"2024-08-08T22:33:17.149Z","dependency_job_id":"028c0cad-51c8-4f2e-943e-0d0cb7d8560f","html_url":"https://github.com/elemental-mind/rust-win-vscode-template","commit_stats":null,"previous_names":["elemental-mind/rust-win-vscode-template"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/elemental-mind/rust-win-vscode-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elemental-mind%2Frust-win-vscode-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elemental-mind%2Frust-win-vscode-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elemental-mind%2Frust-win-vscode-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elemental-mind%2Frust-win-vscode-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/elemental-mind","download_url":"https://codeload.github.com/elemental-mind/rust-win-vscode-template/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elemental-mind%2Frust-win-vscode-template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33092708,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-16T04:41:52.686Z","status":"ssl_error","status_checked_at":"2026-05-16T04:41:52.009Z","response_time":115,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["debugging","rust","vscode","windows"],"created_at":"2024-11-08T19:28:46.132Z","updated_at":"2026-05-16T06:35:52.298Z","avatar_url":"https://github.com/elemental-mind.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rust Windows VSCode Template\n\nThis repository provides a template for setting up a Rust development environment on Windows using Visual Studio Code where you then can simply hit `F5` and debugging just works.\n\n## Prerequisites\n\nYou should have Rust and VSCode installed:\n- [Rust](https://www.rust-lang.org/tools/install)\n- [Visual Studio Code](https://code.visualstudio.com/)\n\nYou should then install the `cargo watch` cargo extension by running `cargo install cargo-watch`:\n- [Cargo Watch](https://crates.io/crates/cargo-watch)\n\nAlso add the `C/C++ extension` to VSCode in order for debugging to work:\n- [Microsoft C/C++](https://marketplace.visualstudio.com/items?itemName=ms-vscode.cpptools)\n\n\n## Getting Started\n\n1. **Clone the repository:**\n\n    ```sh\n    git clone https://github.com/elemental-mind/rust-win-vscode-template.git \u003cyour-dir-name\u003e\n    ```\n\n    Then `cd` into your chosen directory and run the following command to unlink the template from this remote repository:\n\n    ```sh\n    git remote remove origin\n    ```\n\n2. **Rename your program and project**\n\n    Go into `cargo.toml` and rename your `package -\u003e name` to your project name. \n\n    To rename your binary output, change the `bin -\u003e name` property.\n    Then also change the `configurations -\u003e program` property in the `launch.json` to reflect the changed executable name.\n\n3. **Code and debug**\n\n    The project is configured to use the `cppvsdbg` debugger for Rust on Windows. Have this installed as a VSCode extension (as mentioned in the prerequisites).\n\n    You should then be able to set a breakpoint and just hit `F5` for your program to run. This will launch the debug build task (if not already running) and launch your program.\n    The debug output should be visible in the Debug Console, the build output shut be visible in a new tab of the Terminal in VSCode.\n\nAll the normal cargo commands should work like `cargo run` and `cargo build`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felemental-mind%2Frust-win-vscode-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felemental-mind%2Frust-win-vscode-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felemental-mind%2Frust-win-vscode-template/lists"}