{"id":31746790,"url":"https://github.com/clevercloud/clevercloud-sdk-rust","last_synced_at":"2025-10-09T13:19:26.070Z","repository":{"id":37236331,"uuid":"416410237","full_name":"CleverCloud/clevercloud-sdk-rust","owner":"CleverCloud","description":"A rust client and structures to interact with the Clever-Cloud API.","archived":false,"fork":false,"pushed_at":"2025-07-02T14:27:43.000Z","size":329,"stargazers_count":11,"open_issues_count":3,"forks_count":5,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-10-04T18:36:12.171Z","etag":null,"topics":["clevercloud","jsonschemas","logging","metrics","sdk"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/clevercloud-sdk","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/CleverCloud.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2021-10-12T16:15:55.000Z","updated_at":"2025-03-31T14:28:47.000Z","dependencies_parsed_at":"2024-06-27T19:16:44.495Z","dependency_job_id":"3b0ccc70-4710-4616-b37d-b5eb150530a5","html_url":"https://github.com/CleverCloud/clevercloud-sdk-rust","commit_stats":{"total_commits":107,"total_committers":2,"mean_commits":53.5,"dds":0.009345794392523366,"last_synced_commit":"facac181993405b0a16c52319f8955d5bff10e54"},"previous_names":[],"tags_count":42,"template":false,"template_full_name":null,"purl":"pkg:github/CleverCloud/clevercloud-sdk-rust","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CleverCloud%2Fclevercloud-sdk-rust","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CleverCloud%2Fclevercloud-sdk-rust/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CleverCloud%2Fclevercloud-sdk-rust/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CleverCloud%2Fclevercloud-sdk-rust/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CleverCloud","download_url":"https://codeload.github.com/CleverCloud/clevercloud-sdk-rust/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CleverCloud%2Fclevercloud-sdk-rust/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279001536,"owners_count":26083102,"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-10-09T02:00:07.460Z","response_time":59,"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":["clevercloud","jsonschemas","logging","metrics","sdk"],"created_at":"2025-10-09T13:19:24.666Z","updated_at":"2025-10-09T13:19:26.062Z","avatar_url":"https://github.com/CleverCloud.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Clever-Cloud Software Development Kit - Rust edition\n\n[![crates.io](https://img.shields.io/crates/v/clevercloud-sdk.svg)](https://crates.io/crates/clevercloud-sdk)\n[![Released API docs](https://docs.rs/clevercloud-sdk/badge.svg)](https://docs.rs/clevercloud-sdk)\n[![Continuous integration](https://github.com/CleverCloud/clevercloud-sdk-rust/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/CleverCloud/clevercloud-sdk-rust/actions/workflows/ci.yml)\n\n\u003e This crate provides structures and a client to interact with the Clever-Cloud\n\u003e API.\n\n## Status\n\nThis crate is under development, you can use it, but it may have bugs or unimplemented features.\n\n## Installation\n\nTo install this dependency, just add the following line to your `Cargo.toml` manifest.\n\n```toml\nclevercloud-sdk = { version = \"^0.11.1\", features = [\"metrics\", \"jsonschemas\"] }\n```\n\n## Usage\n\nBelow, you will find an example of executing a request to get information about\nmyself.\n\n```rust\nuse std::error::Error;\n\nuse clevercloud_sdk::{Client, v2::myself::{self, Myself}};\n\n#[tokio::main]\nasync fn main() -\u003e Result\u003c(), Box\u003cdyn Error + Send + Sync\u003e\u003e {\n    let client = Client::from(Credentials {\n        token: \"\".to_string(),\n        secret: \"\".to_string(),\n        consumer_key: \"\".to_string(),\n        consumer_secret: \"\".to_string(),\n    });\n\n    let _myself: Myself = myself::get(\u0026client).await?;\n\n    Ok(())\n}\n```\n\nYou could found more examples of how you could use the clevercloud-sdk by looking at the [command line](examples/cli/README.md) example.\n\n## Features\n\n| name        | description                                                                                      |\n| ----------- |--------------------------------------------------------------------------------------------------|\n| trace       | Use `tracing` crate to expose traces                                                             |\n| jsonschemas | Use `schemars` to add a derive instruction to generate json schemas representation of structures |\n| logging     | Use the `log` facility crate to print logs. Implies `oauth10a/logging` feature                   |\n| metrics     | Expose HTTP metrics through `oauth10a` crate feature.                                            |\n\n### Metrics\n\nBelow, the exposed metrics gathered by prometheus:\n\n| name                             | labels                                                          | kind    | description                |\n| -------------------------------- | --------------------------------------------------------------- | ------- | -------------------------- |\n| oauth10a_client_request          | endpoint: String, method: String, status: Integer               | Counter | number of request on api   |\n| oauth10a_client_request_duration | endpoint: String, method: String, status: Integer, unit: String | Counter | duration of request on api |\n\n## License\n\nSee the [license](LICENSE).\n\n## Getting in touch\n\n- [@FlorentinDUBOIS](https://twitter.com/FlorentinDUBOIS)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclevercloud%2Fclevercloud-sdk-rust","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fclevercloud%2Fclevercloud-sdk-rust","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclevercloud%2Fclevercloud-sdk-rust/lists"}