27 releases

0.10.2 Nov 25, 2024
0.10.1 Apr 28, 2024
0.10.0 Mar 1, 2024
0.8.1 Dec 2, 2023
0.1.8 Mar 11, 2020

#60 in HTTP client

Download history 3/week @ 2024-08-30 20/week @ 2024-09-20 9/week @ 2024-09-27 3/week @ 2024-10-04 136/week @ 2024-11-22 25/week @ 2024-11-29 5/week @ 2024-12-06

166 downloads per month

MIT/Apache

53KB
1K SLoC

zeptohttpc

crates.io docs.rs github.com

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.
  • json: Support for JSON bodies using the serde and serde_json crates.
  • tls-webpki-roots: Support for HTTPS connections using the rustls crate with roots provided by the webpki-roots crate.
  • tls-native-roots: Support for HTTPS connections using the rustls crate with roots provided by the rustls-native-certs crate.
  • rustls: Support for HTTPS connections using the rustls crate without a default set of roots.
  • native-tls: Support HTTPS connections using the native-tls crate.

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–12MB
~174K SLoC