Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/adamreichold/zeptohttpc
Proving ground for changes to attohttpc
https://github.com/adamreichold/zeptohttpc
Last synced: 3 months ago
JSON representation
Proving ground for changes to attohttpc
- Host: GitHub
- URL: https://github.com/adamreichold/zeptohttpc
- Owner: adamreichold
- License: apache-2.0
- Created: 2020-01-22T20:27:59.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2024-04-28T15:17:51.000Z (9 months ago)
- Last Synced: 2024-10-19T20:49:56.015Z (3 months ago)
- Language: Rust
- Homepage:
- Size: 79.1 KB
- Stars: 11
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
# zeptohttpc
[![crates.io](https://img.shields.io/crates/v/zeptohttpc.svg)](https://crates.io/crates/zeptohttpc)
[![docs.rs](https://docs.rs/zeptohttpc/badge.svg)](https://docs.rs/zeptohttpc)
[![github.com](https://github.com/adamreichold/zeptohttpc/actions/workflows/test.yaml/badge.svg)](https://github.com/adamreichold/zeptohttpc/actions/workflows/test.yaml)This crate aims to be the smallest possible yet practically useful HTTP client built on top of the [`http`](https://docs.rs/http) and [`httparse`](https://docs.rs/httparse) crates.
## Cargo features
* `encoding_rs`: Support for bodies in various character sets using the [`encoding_rs`](https://docs.rs/encoding_rs) crate.
* `flate2`: Support for compressed bodies using the [`flate2`](https://docs.rs/flate2) crate.
* `json`: Support for JSON bodies using the [`serde`](https://docs.rs/serde) and [`serde_json`](https://docs.rs/serde_json) crates.
* `tls-webpki-roots`: Support for HTTPS connections using the [`rustls`](https://docs.rs/rustls) crate with roots provided by the [`webpki-roots`](https://docs.rs/webpki-roots) crate.
* `tls-native-roots`: Support for HTTPS connections using the [`rustls`](https://docs.rs/rustls) crate with roots provided by the [`rustls-native-certs`](https://docs.rs/rustls-native-certs) crate.
* `rustls`: Support for HTTPS connections using the [`rustls`](https://docs.rs/rustls) crate without a default set of roots.
* `native-tls`: Support HTTPS connections using the [`native-tls`](https://docs.rs/native-tls) crate.## License
Licensed under
* [Apache License, Version 2.0](LICENSE-APACHE) or
* [MIT license](LICENSE-MIT)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.