{"id":15422596,"url":"https://github.com/heaths/azure-sdk-for-rust-proto","last_synced_at":"2026-01-23T13:47:33.284Z","repository":{"id":225193228,"uuid":"765322146","full_name":"heaths/azure-sdk-for-rust-proto","owner":"heaths","description":null,"archived":false,"fork":false,"pushed_at":"2024-06-24T20:40:08.000Z","size":110,"stargazers_count":0,"open_issues_count":7,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-13T22:23:24.239Z","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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-02-29T17:41:28.000Z","updated_at":"2024-06-24T20:40:09.000Z","dependencies_parsed_at":"2024-06-24T22:27:07.937Z","dependency_job_id":null,"html_url":"https://github.com/heaths/azure-sdk-for-rust-proto","commit_stats":{"total_commits":27,"total_committers":2,"mean_commits":13.5,"dds":0.03703703703703709,"last_synced_commit":"b6d15a932182186c3902a6675f04d9753cf6e371"},"previous_names":["heaths/azure-sdk-for-rust-proto"],"tags_count":1,"template":false,"template_full_name":"heaths/template-rustlang","purl":"pkg:github/heaths/azure-sdk-for-rust-proto","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heaths%2Fazure-sdk-for-rust-proto","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heaths%2Fazure-sdk-for-rust-proto/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heaths%2Fazure-sdk-for-rust-proto/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heaths%2Fazure-sdk-for-rust-proto/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/heaths","download_url":"https://codeload.github.com/heaths/azure-sdk-for-rust-proto/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heaths%2Fazure-sdk-for-rust-proto/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28693331,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-23T11:01:27.039Z","status":"ssl_error","status_checked_at":"2026-01-23T11:00:26.909Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":[],"created_at":"2024-10-01T17:38:59.997Z","updated_at":"2026-01-23T13:47:33.266Z","avatar_url":"https://github.com/heaths.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Azure/azure-sdk-for-net prototypes\n\n[![ci](https://github.com/heaths/azure-sdk-for-rust-proto/actions/workflows/ci.yml/badge.svg?event=push)](https://github.com/heaths/azure-sdk-for-rust-proto/actions/workflows/ci.yml)\n\nThis repo is a prototype for [Azure/azure-sdk-for-rust] to help create our [guidelines].\nWe have chosen the options builder pattern after a lot of consideration and research, but will make adjustments based on\nfeedback as we progress.\n\n## Example\n\nAn example of the options builder pattern we have chosen:\n\n```rust\nlet endpoint = env::var(\"AZURE_KEYVAULT_URL\")?;\n\nlet credential = Arc::new(DefaultAzureCredential::default());\nlet options = SecretClientOptions::builder()\n    .with_api_version(\"7.4\")\n    .with_retry(RetryOptions::exponential(ExponentialRetryOptions::default()))\n    .build();\nlet client = SecretClient::new(endpoint, credential, Some(options))?;\n\n// Simple client method call.\nlet response = client\n    .set_secret(\"secret-name\", \"secret-value\", None)\n    .await?;\n\nlet secret: Secret = response.json().await?;\nprintln!(\"set {} version {}\", secret.name, secret.version);\n```\n\n## Conventions\n\n* Builder fields should be private.\n* Builder setters should be declared as `with_field_name(\u0026mut self, value: impl Into\u003cFieldType\u003e) -\u003e \u0026mut Self`.\n* Client fields should be private.\n* ClientOptions should be public.\n* Model fields should be public.\n* Parameter types that do not require concrete types should use `impl Into\u003cParamType\u003e` for owned values\n  or `impl AsRef\u003cParamType\u003e` if not owned.\n* Private field getters should be declared as `field_name(\u0026self) -\u003e \u0026field_type`.\n* Private field setters should be declared as `set_field_name(\u0026mut self, value: impl Into\u003cFieldType\u003e)`.\n* Type construction should use `new(...)` or `with_more_details(...)`. Consider implementing `Default` as appropriate.\n\nRead our [guidelines] for more information,\nand \u003chttps://rust-lang.github.io/api-guidelines/naming.html\u003e for additional naming guidelines.\n\n## License\n\nLicensed under the [MIT](LICENSE.txt) license.\n\n[Azure/azure-sdk-for-rust]: https://github.com/Azure/azure-sdk-for-rust\n[guidelines]: https://azure.github.io/azure-sdk/rust_introduction.html\n[typestate builder pattern]: https://gist.github.com/heaths/1eb608df947de5d5b47da0ee6a5a5c6d\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheaths%2Fazure-sdk-for-rust-proto","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fheaths%2Fazure-sdk-for-rust-proto","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheaths%2Fazure-sdk-for-rust-proto/lists"}