rrw_macro 0.1.1

A macro crate for rrw to easily build clients for REST-APIs.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# RRW-Macro (Rust REST Wrapper)

A macro crate for rrw to easily build clients for REST-APIs.

## Example

```rust
#[rest]
impl Bahn {
    async fn location(&self, location: &LocationQuery) -> Result<Vec<Location>, reqwest::Error> {
        RestRequest::<&LocationQuery, ()>::get("/locations").query(location)
    }
}
```

For more information, look at the rrw-crate.