2 releases
0.1.1 | Feb 23, 2024 |
---|---|
0.1.0 | Feb 8, 2024 |
#1112 in Procedural macros
3,603 downloads per month
Used in 3 crates
(via http-request-derive)
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