{"id":15422608,"url":"https://github.com/heaths/vssetup-rs","last_synced_at":"2026-01-20T04:01:47.619Z","repository":{"id":45014281,"uuid":"308675300","full_name":"heaths/vssetup-rs","owner":"heaths","description":"Utility classes for enumerating Microsoft Visual Studio setup instances","archived":false,"fork":false,"pushed_at":"2022-01-14T04:44:12.000Z","size":32,"stargazers_count":1,"open_issues_count":4,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-06T17:14:01.831Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/heaths.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-10-30T15:46:59.000Z","updated_at":"2022-01-05T06:46:32.000Z","dependencies_parsed_at":"2022-09-24T21:31:38.130Z","dependency_job_id":null,"html_url":"https://github.com/heaths/vssetup-rs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/heaths/vssetup-rs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heaths%2Fvssetup-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heaths%2Fvssetup-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heaths%2Fvssetup-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heaths%2Fvssetup-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/heaths","download_url":"https://codeload.github.com/heaths/vssetup-rs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heaths%2Fvssetup-rs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28595316,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T02:08:49.799Z","status":"ssl_error","status_checked_at":"2026-01-20T02:08:44.148Z","response_time":117,"last_error":"SSL_read: 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":[],"created_at":"2024-10-01T17:39:01.211Z","updated_at":"2026-01-20T04:01:47.602Z","avatar_url":"https://github.com/heaths.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Visual Studio Setup Configuration\n\n[Microsoft Visual Studio](https://visualstudio.microsoft.com) 2017 and newer uses a new setup engine that allows multiple instances to be installed quickly and in different configuration. To enumerate these instances and find one that fulfills your requirements, the [Setup Configuration API](https://devblogs.microsoft.com/setup/documentation-available-for-the-setup-configuration-api) provides a set of interface. This crate provides a safe and idiomatic wrapper for [Rust](https://www.rust-lang.org).\n\n## Example\n\nFirst add this crate to your Cargo.toml file:\n\n```toml\n[dependencies]\nvssetup = \"0.1.0\"\n```\n\nYou'll then need to use the crate in your project:\n\n```rust\nextern crate vssetup;\nuse vssetup::SetupConfiguration;\n```\n\nMake sure you initialize COM in your application. You can then enumerate and display instances:\n\n```rust\nuse windows::{initialize_sta, Result};\n\nfn main() -\u003e Result\u003c()\u003e {\n    initialize_sta()?;\n\n    let config = SetupConfiguration::new();\n    if let Some(e) = config.instances() {\n        for instance in e {\n            println!(\"{}\", instance.installation_path()?);\n        }\n    }\n\n    Ok(())\n}\n```\n\nSee [src/bin/vswhere.rs](https://github.com/heaths/vssetup-rs/blob/master/src/bin/vswhere.rs) for more examples.\n\n## FAQ\n\n* **On what platforms does this work?**\n\n  This crate will only compile and work on Windows.\n\n* **Is this project supported by Microsoft?**\n\n  Though I am the developer who wrote the Setup Configuration API while working for Microsoft, this crate is unsupported by Microsoft.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheaths%2Fvssetup-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fheaths%2Fvssetup-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheaths%2Fvssetup-rs/lists"}