boosty_api 0.27.0

API client for interacting with Boosty platform
Documentation
1
2
3
4
5
6
7
8
9
10
11
use mockito::{Server, ServerGuard};

pub fn api_path(path: &str) -> String {
    format!("/v1/{path}")
}

pub async fn setup() -> (ServerGuard, String) {
    let server = Server::new_async().await;
    let base = server.url();
    (server, base)
}