26 releases (9 breaking)

0.10.1 Apr 28, 2024
0.10.0 Mar 1, 2024
0.9.2 Mar 1, 2024
0.8.1 Dec 2, 2023
0.1.8 Mar 11, 2020

#108 in HTTP client

32 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
~177K SLoC