vamo 0.0.9-beta.5

A rest wrapper for deboa http client.
Documentation

Vamo

Crates.io downloads crates.io Build Status Crates.io MSRV Documentation MIT licensed Codecov

vamo ("Let's go" in portuguese) is a rest wrapper for deboa. Vamo is a key part of the deboa ecosystem, allowing bora macro to generate api clients.

Features

  • all deboa features
  • set base url only once, change it when needed
  • request data only by specifying path
  • resource trait to make requests using any struct (experimental)

Install

Either run from command line:

cargo add vamo deboa-smol

Or add to your Cargo.toml:

vamo = "0.0.1"
deboa-smol = "0.1.0"

Usage

use vamo::Vamo;

let vamo = Vamo::<deboa_smol::Client>::new("https://api.example.com")?;
let response = vamo
    .get("/users")?
    .send()
    .await?;

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

License

Licensed under either of

at your option.

Authors