This project is currently under development
This is a rust api wrapper for the Heroku v3 API.
Add the following to your Cargo.toml
toml
[dependencies]
heroku_rs = "0.3"
run: cargo build
Here's a simple example which fetches the apps list. At the moment, the client is blocking by default.
```rust use herokurs::framework::{apiclient::HerokuApiClient, HttpApiClient}; use herokurs::endpoints::apps;
fn main() -> Result<(), Box
let response = api_client.request(&apps::AppList {});
match response {
Ok(success) => println!("Success: {:#?}", success),
Err(e) => println!("Error: {}", e),
}
Ok(())
} ```
Licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.