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

#244 in HTTP server

Download history 71/week @ 2024-02-06 494/week @ 2024-02-13 1054/week @ 2024-02-20 325/week @ 2024-02-27 861/week @ 2024-03-05 1295/week @ 2024-03-12 693/week @ 2024-03-19 274/week @ 2024-03-26 1130/week @ 2024-04-02 1018/week @ 2024-04-09 1190/week @ 2024-04-16 942/week @ 2024-04-23 892/week @ 2024-04-30 919/week @ 2024-05-07

4,124 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
~105K SLoC