feignhttp-codegen 0.6.1

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

// error: metadata path not specified or must be the first
//    |  #[get(aaa = "/aaa")]
//    |        ^^^^^^^^^^^^

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

fn main() {}