oauth1-request-derive 0.4.1

A derive macro for `oauth1_request::Request` trait.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
// https://github.com/tesaguri/oauth1-request-rs/pull/3

macro_rules! def_foo {
    ($t:ty) => {
        #[derive(oauth1_request::Request)]
        pub struct Foo {
            field: $t,
        }
    };
}

def_foo!(Option<u64>);