lynx

Crates.iolynx
lib.rslynx
version0.2.0
sourcesrc
created_at2019-03-03 16:12:38.567559
updated_at2019-03-12 01:08:09.657099
descriptionSmall and lightweight HTTP client
homepagehttps://github.com/sbstp/lynx
repositoryhttps://github.com/sbstp/lynx
max_upload_size
id118431
size69,796
Simon Bernier St-Pierre (sbstp)

documentation

https://docs.rs/lynx

README

Why Lynx

This project's goal is to provide a lightweight and simple HTTP client for the Rust ecosystem. The intended use is for projects that have HTTP needs where performance is not critical or when HTTP is not the main purpose of the application. Note that the project still tries to perform well and avoid allocation where possible, but stays away from Rust's asynchronous stack to provide a crate that's as small as possible. Features are provided behind feature flags when possible to allow users to get just what they need. Here are the goals of the project:

  • Lightweight
  • Secure
  • Easy to use
  • Modular
  • HTTP/1.1, eventually HTTP/2.0
  • Use quality crates from the ecosystem (http, url, encoding_rs), not reinventing the wheel.

Current feature set

  • Query parameters
  • Request headers
  • Tls
  • Automatic redirection
  • Streaming response body
  • Text encoding support
  • Gzip, deflate support
  • Transfer-Encoding: chunked

Feature being worked on

  • File upload, form data
  • Thorough test suite
  • Connection: keep-alive
  • serde support behind a feature flag

License

This project is licensed under the MPL-2.0.

Commit count: 284

cargo fmt