xo-api-client
Unofficial Rust crate for accessing Xen Orchestra through its API
Under development
The library is still in early development, please do not use in production. The API is nowhere near complete and only covers a very small fraction of XO's api. Lots of things might get changed and/or added in breaking ways at any time.
Async Runtime
This library uses the tokio v1 runtime
Example
Example of listing all VMs with the tag Test
use BTreeMap;
use ;
// We dont care about any of the data under the "other" attribute
// in this example
async
License
xo-api-client
is distributed under the terms of both the MIT license and
the Apache License (Version 2.0).
See LICENSE-APACHE, and LICENSE-MIT for details.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in xo-api-client by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.