#http #https #client #request #response

zeptohttpc

minimal HTTP client using http and httparse crates

15 unstable releases (3 breaking)

0.4.0 Mar 9, 2021
0.3.1 Mar 8, 2021
0.2.1 Dec 2, 2020
0.1.11 Jul 19, 2020
0.1.7 Feb 27, 2020

#43 in HTTP client

Download history 49/week @ 2021-04-02 10/week @ 2021-04-09 40/week @ 2021-04-16 36/week @ 2021-04-23 21/week @ 2021-04-30 6/week @ 2021-05-07 22/week @ 2021-05-14 7/week @ 2021-05-21 6/week @ 2021-05-28 6/week @ 2021-06-04 37/week @ 2021-06-11 26/week @ 2021-06-18 17/week @ 2021-06-25 22/week @ 2021-07-02 76/week @ 2021-07-09 133/week @ 2021-07-16

145 downloads per month

MIT/Apache

50KB
1K SLoC

zeptohttpc

This crate aims to be the smallest possible yet practically useful HTTP client built on top of the http and httparse crates.

Cargo features

  • encoding_rs: Support for bodies in various character sets using the encoding_rs crate.
  • flate2: Support for compressed bodies using the flate2 crate.
  • native-tls: Support HTTPS connections using the native-tls crate.
  • json: Support for JSON bodies using the serde and serde_json crates.
  • tls: Support for HTTPS connections using the rustls, webpki and webpki-roots crates.

License

Licensed under

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~0.6–4.5MB
~107K SLoC