Expand description
§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:
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
- 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.
§Authors
Modules§
- resource
- Resource Module
Structs§
- Vamo
- A builder for HTTP requests.