feignhttp-codegen 0.5.2

FeignHTTP macro support
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use feignhttp_codegen::feign;

// error: unknown request method marker: req
//    |  #[req]
//    |    ^^^

struct Http {}

#[feign("http://xxx")]
impl Http {
    #[req]
    pub async fn get() {}
}

fn main() {}