Crates.io | yukikaze |
lib.rs | yukikaze |
version | 1.0.10 |
source | src |
created_at | 2018-08-01 06:20:03.934308 |
updated_at | 2020-07-23 20:44:40.537528 |
description | Beautiful and elegant HTTP library. |
homepage | |
repository | https://gitlab.com/Douman/yukikaze |
max_upload_size | |
id | 76914 |
size | 143,708 |
Beautiful and elegant Yukikaze is little HTTP client library based on hyper.
rustls
- Enables use of rustls
for default SSL implementation. By default on
compu
- Enables compression support. By default on
.encoding
- Enables encoding
crate support. Default off
.websocket
- Enables Websocket Upgrade mechanism. Default off
. Enables carry_extensions
when on
.carry_extensions
- Carries http::Extensions
from request to resolved Response
. Default off
.Q: Why not just use reqwest/actix-web/mio_httpc?
A: Reqwest API sucks, actix-web client comes with lots of server code and mio_httpc is unknown beast to me(I just found out about it when created Yukikaze).
Q: I see some moon runes and anime picture. Are you one of these disgusting weebs?
A: Obviously yes ;)
Q: Why so many inlines? Are you this stupid to use pre-mature optimizations!?
A: Yes, I'm stupid enough because compiler doesn't want inline methods across crates by default(unless you turn on LTO)
Q: Why builder methods panic? Why don't you store error in builder and return it when finishing creating request?
A: I believe in normal cases you are not supposed to create invalid requests so I consider such errors as quite exceptional