4 releases

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

#219 in HTTP server

Download history 315/week @ 2024-02-08 545/week @ 2024-02-15 844/week @ 2024-02-22 528/week @ 2024-02-29 1257/week @ 2024-03-07 976/week @ 2024-03-14 504/week @ 2024-03-21 608/week @ 2024-03-28 856/week @ 2024-04-04 1094/week @ 2024-04-11 1156/week @ 2024-04-18 824/week @ 2024-04-25 1088/week @ 2024-05-02 1083/week @ 2024-05-09 1502/week @ 2024-05-16

4,644 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