{"id":26131324,"url":"https://github.com/henningholmde/hcloud-rust","last_synced_at":"2025-08-23T12:04:32.319Z","repository":{"id":40302009,"uuid":"267692274","full_name":"HenningHolmDE/hcloud-rust","owner":"HenningHolmDE","description":"Unofficial Rust crate for accessing the Hetzner Cloud API","archived":false,"fork":false,"pushed_at":"2025-08-21T20:30:28.000Z","size":1538,"stargazers_count":90,"open_issues_count":4,"forks_count":8,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-08-23T12:03:10.925Z","etag":null,"topics":["api","api-client","hcloud","hetzner","hetzner-cloud","rust","rust-lang"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/HenningHolmDE.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","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,"zenodo":null}},"created_at":"2020-05-28T20:42:00.000Z","updated_at":"2025-08-21T20:02:09.000Z","dependencies_parsed_at":"2023-12-18T22:06:54.803Z","dependency_job_id":"8c623905-e5af-471b-8854-926dec1a8864","html_url":"https://github.com/HenningHolmDE/hcloud-rust","commit_stats":{"total_commits":94,"total_committers":2,"mean_commits":47.0,"dds":0.03191489361702127,"last_synced_commit":"bf56cd75809c7c7d3d2b1e7d57c1143e897002fe"},"previous_names":[],"tags_count":23,"template":false,"template_full_name":null,"purl":"pkg:github/HenningHolmDE/hcloud-rust","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HenningHolmDE%2Fhcloud-rust","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HenningHolmDE%2Fhcloud-rust/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HenningHolmDE%2Fhcloud-rust/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HenningHolmDE%2Fhcloud-rust/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HenningHolmDE","download_url":"https://codeload.github.com/HenningHolmDE/hcloud-rust/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HenningHolmDE%2Fhcloud-rust/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271746907,"owners_count":24813594,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-23T02:00:09.327Z","response_time":69,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["api","api-client","hcloud","hetzner","hetzner-cloud","rust","rust-lang"],"created_at":"2025-03-10T22:00:27.673Z","updated_at":"2025-08-23T12:04:32.307Z","avatar_url":"https://github.com/HenningHolmDE.png","language":"Rust","funding_links":[],"categories":["Libraries"],"sub_categories":["Rust"],"readme":"# hcloud for Rust\n\n[![Crates.io](https://img.shields.io/crates/v/hcloud.svg)](https://crates.io/crates/hcloud)\n[![Documentation](https://docs.rs/hcloud/badge.svg)](https://docs.rs/hcloud/)\n![Build and test](https://github.com/HenningHolmDE/hcloud-rust/workflows/Build%20and%20test/badge.svg)\n\nUnofficial Rust crate for accessing the [Hetzner Cloud API](https://docs.hetzner.cloud/)\n\n## Overview\n\nThe `hcloud` crate can be used for managing the endpoints provided by the Hetzner Cloud API in your Rust project.\n\nThe API client code of this crate has been auto-generated from the [Unofficial OpenAPI Description for the Hetzner Cloud API](https://github.com/MaximilianKoestler/hcloud-openapi) using [OpenAPI Generator](https://openapi-generator.tech/).\n\n## Example\n\nA very basic example for listing all existing servers:\n\n```rust\nuse hcloud::apis::configuration::Configuration;\nuse hcloud::apis::servers_api;\n\n// set up basic configuration using API token\nlet mut configuration = Configuration::new();\nconfiguration.bearer_access_token =\n   Some(\"YOUR_HCLOUD_API_TOKEN\".to_string());\n\n// get list of all existing servers from servers API\nlet servers = servers_api::list_servers(\u0026configuration, Default::default())\n   .await?\n   .servers;\n\n// handle server data\nfor server in servers {\n   println!(\"{:?}\", server);\n}\n```\n\nFor more examples check out the [examples](https://github.com/HenningHolmDE/hcloud-rust/tree/main/examples) folder in the Git repository.\n\n## Selecting TLS implementation\n\nThe underlying TLS implementation for `reqwest` can be selected using [Cargo features](https://doc.rust-lang.org/stable/cargo/reference/manifest.html#the-features-section):\n- **default-tls** *(enabled by default)*: Provides TLS support to connect over HTTPS.\n- **native-tls**: Enables TLS functionality provided by `native-tls`.\n- **native-tls-vendored**: Enables the `vendored` feature of `native-tls`.\n- **rustls-tls**: Enables TLS functionality provided by `rustls`.\n\n(Refer to [Optional Features](https://docs.rs/reqwest/latest/reqwest/#optional-features) in the `reqwest` documentation.)\n\nExample for using the TLS functionality provided by `rustls`:\n```toml\n[dependencies]\nhcloud = { version = \"*\", default-features = false, features = [\"rustls-tls\"] }\n```\n\n## License\n\nLicensed under either of\n\n* Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or https://www.apache.org/licenses/LICENSE-2.0)\n* MIT license ([LICENSE-MIT](LICENSE-MIT) or https://opensource.org/licenses/MIT)\n\nat your option.\n\n### Contribution\n\nUnless you explicitly state otherwise, any contribution intentionally\nsubmitted for inclusion in the work by you, as defined in the Apache-2.0\nlicense, shall be dual licensed as above, without any additional terms or\nconditions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhenningholmde%2Fhcloud-rust","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhenningholmde%2Fhcloud-rust","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhenningholmde%2Fhcloud-rust/lists"}