upcloud-rust-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: Create a server with a minimal set of options
- Advanced example: Create a server with two interfaces and poll until server is started
- List servers: List all servers and utilise label filtering
Structure
src/client.rs: Client implementationsrc/resources/*: Resource-specific codesrc/types/*: Shared typessrc/constants.rs: Constantssrc/error.rs: Error handlingsrc/config.rs: Configuration
TODO
- Add support to other resources than Cloud Servers
- Request/response serialisation/deserialisation improvements
- Error handling
- Documentation
- Release process
License
MIT