cloud-hypervisor-client
Unofficial Rust crate for interacting with the cloud-hypervisor REST API
Overview
The cloud-hypervisor-client crate can be used for managing the endpoints provided by a cloud-hypervisor socket in your
Rust project.
The API client code of this crate has been auto-generated from the OpenAPI description for the cloud-hypervisor REST API using OpenAPI Generator.
Installation
Add the crate to your project with Cargo:
Or add it to your Cargo.toml manually:
[]
= "0.4"
The crate targets a local cloud-hypervisor VMM over a Unix domain socket via hyper and hyperlocal, so it
only works on Unix-like systems.
Example
A very basic example for listing all existing servers:
use DefaultApi;
use socket_based_api_client;
async
For more examples check out the examples folder in the Git repository.
Minimum Supported Rust Version (MSRV)
This crate's MSRV is 1.86.0.
Attributions
This crate was based on the great work done in: https://github.com/HenningHolmDE/hcloud-rust.