pretend 0.4.0

pretend is a modular, Feign-inspired, HTTP client based on macros.
Documentation
#![allow(unused_imports)]

use pretend::{pretend, Result};

#[pretend]
trait Test1 {}

#[pretend]
trait Test2 {
    #[request(method = "GET", path = "/get")]
    fn test_1(&self) -> Result<()>;
    #[request(method = "GET", path = "/get")]
    async fn test_2(&self) -> Result<()>;
}

#[pretend(?Send)]
trait Test3 {
    #[request(method = "GET", path = "/get")]
    fn test_1(&self) -> Result<()>;
}

fn main() {}