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: metadata path not specified or must be the first
//    |  #[get(aaa = "/aaa")]
//    |        ^^^^^^^^^^^^

struct Http;

#[feign("http://xxx")]
impl Http {
    #[get(aaa = "/aaa")]
    pub async fn get() -> Result<String> {}
}

fn main() {}