2 releases

0.1.1 Nov 24, 2024
0.1.0 Nov 24, 2024

#1664 in Web programming

Download history 98/week @ 2024-11-18 128/week @ 2024-11-25

226 downloads per month
Used in cloud-node-discovery

MIT license

37KB
912 lines

upcloud-rust-sdk

crates.io docs.rs

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:

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

Dependencies

~7–18MB
~228K SLoC