Vamo
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:
= "0.0.1"
= "0.1.0"
Usage
use Vamo;
let vamo = new?;
let response = vamo
.get?
.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
- Apache License, Version 2.0 (LICENSE-APACHE or https://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or https://opensource.org/licenses/MIT)
at your option.