4 releases

new 0.2.0 May 14, 2024
0.1.2 Feb 23, 2024
0.1.1 Feb 8, 2024
0.1.0 Feb 8, 2024

#200 in HTTP server

Download history 63/week @ 2024-02-03 446/week @ 2024-02-10 898/week @ 2024-02-17 408/week @ 2024-02-24 706/week @ 2024-03-02 1445/week @ 2024-03-09 765/week @ 2024-03-16 289/week @ 2024-03-23 992/week @ 2024-03-30 964/week @ 2024-04-06 1164/week @ 2024-04-13 915/week @ 2024-04-20 773/week @ 2024-04-27 1116/week @ 2024-05-04 1271/week @ 2024-05-11

4,360 downloads per month
Used in 2 crates

MIT/Apache

21KB
358 lines

http-request-derive rust library crate

Attention: this crate is still under development.

You can derive HttpRequest on a struct and annotate it with some attributes, so that it can be used to build a http::Request which can then be sent to a server. In addition, a response type can be read from the received http::Response.


lib.rs:

HttpRequest derive

Dependencies

~2.8–4MB
~104K SLoC