Skip to main content

Crate bunny_api_tokio

Crate bunny_api_tokio 

Source
Expand description

This library provides access to the Bunny API asynchronously using tokio, it’s not fully implemented but PRs are welcome.

§Getting started

  1. add package to your project using cargo

$ cargo add bunny-api-tokio

  1. Start coding
use bunny_api_tokio::{BunnyClient, error::Error};

#[tokio::main]
async fn main() -> Result<(), Error> {
    let mut client = BunnyClient::new("api_key").await?;

    Ok(())
}

Re-exports§

pub use edge_storage::EdgeStorageClient;

Modules§

edge_storage
Edge Storage API
error
Error types for this crate.

Structs§

BunnyClient
API Client for bunny.net