https://github.com/thevilledev/upcloud-rust-sdk
Unofficial UpCloud API client for Rust
https://github.com/thevilledev/upcloud-rust-sdk
api-client rust upcloud
Last synced: 11 months ago
JSON representation
Unofficial UpCloud API client for Rust
- Host: GitHub
- URL: https://github.com/thevilledev/upcloud-rust-sdk
- Owner: thevilledev
- License: mit
- Created: 2024-11-16T11:03:33.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-24T18:34:09.000Z (over 1 year ago)
- Last Synced: 2025-04-12T13:59:40.058Z (about 1 year ago)
- Topics: api-client, rust, upcloud
- Language: Rust
- Homepage:
- Size: 43.9 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# upcloud-rust-sdk
[
](https://crates.io/crates/upcloud-sdk)
[
](https://docs.rs/upcloud-sdk)
Unofficial UpCloud API client for Rust.
## Features
- Strongly typed API with builder patterns for request construction
- Async/await support using Tokio
- Environment variable based configuration
- Trait-based design for resource operations
## Examples
See the following:
- [Simple example](examples/server_create_simple.rs): Create a server with a minimal set of options
- [Advanced example](examples/server_create_advanced.rs): Create a server with two interfaces and poll until server is started
- [List servers](examples/server_list.rs): List all servers and utilise label filtering
## Structure
- `src/client.rs`: Client implementation
- `src/resources/*`: Resource-specific code
- `src/types/*`: Shared types
- `src/constants.rs`: Constants
- `src/error.rs`: Error handling
- `src/config.rs`: Configuration
## TODO
- Add support to other resources than Cloud Servers
- Request/response serialisation/deserialisation improvements
- Error handling
- Documentation
- Release process
## License
MIT