25 releases (9 breaking)

0.10.0 Mar 1, 2024
0.9.1 Feb 18, 2024
0.8.1 Dec 2, 2023
0.8.0 Nov 27, 2023
0.1.8 Mar 11, 2020

#95 in HTTP client

Download history 3/week @ 2024-01-19 122/week @ 2024-02-16 48/week @ 2024-02-23 238/week @ 2024-03-01 25/week @ 2024-03-08 9/week @ 2024-03-15 80/week @ 2024-03-29 34/week @ 2024-04-05

124 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.7–13MB
~173K SLoC