2 releases

0.1.1 Feb 23, 2024
0.1.0 Feb 8, 2024

#1112 in Procedural macros

Download history 58/week @ 2024-02-06 466/week @ 2024-02-13 957/week @ 2024-02-20 290/week @ 2024-02-27 755/week @ 2024-03-05 1215/week @ 2024-03-12 696/week @ 2024-03-19 273/week @ 2024-03-26 1119/week @ 2024-04-02 1015/week @ 2024-04-09 1153/week @ 2024-04-16

3,603 downloads per month
Used in 3 crates (via http-request-derive)

MIT/Apache

12KB
321 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:

Implementation of HttpRequest derive

Dependencies

~0.7–1.2MB
~26K SLoC