vamo 0.0.7

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

Or add to your Cargo.toml:

vamo = "0.0.1"

Usage

use vamo::Vamo;

let vamo = Vamo::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

MIT

Authors