5 unstable releases
✓ Uses Rust 2018 edition
|0.2.0||Apr 11, 2019|
|0.1.1||Mar 31, 2019|
|0.1.0||Mar 16, 2019|
|0.0.1||Mar 2, 2019|
|0.0.0||Feb 20, 2019|
#6 in #cloud
56 downloads per month
The goal of this project is to provide a asynchronous API for HTTP requests against OpenStack clouds. For a more high-level API see rust-openstack.
Asynchronous OpenStack session and authentication.
This crate provides low-level asynchronous access to OpenStack API. It features:
- Authentication and token caching.
- Major and microversion handling.
- Service catalog integration.
- JSON API error handling.
- Service types for supported services.
It does NOT provide:
- Protocol structures for any services.
- Automatic microversion negotiation.
See openstack crate for these features.
This crate requires Rust 2018 edition and relies heavily on
futures 0.1. It has not yet been updated for the new
await syntax and may not be compatible with it out-of-box.
Your entry point to the API is the Session structure. To create it you need an authentication type object first. It can be obtained by:
- Using Password authentication against the Identity service.
- Using NoAuth authentication type, allowing access to standalone services without authentication.
Session can be created directly by loading it:
- From the
clouds.yamlconfiguration file using from_config.
- From environment variables using from_env.
See Session documentation for the details on using a
Session for making