PackageTrack
Sign in Get early access

http-client

Types and traits for http clients.

6.5.3 7.5M downloads/mo #3631 most downloaded on crates.io http-rs/http-client

What this package is like to depend on

Last release 4 years ago

no release in 18 months

Release timing varies

gaps range from 2 weeks to 9 months

Most releases are documented

notes for 19 of 23 stable releases

1 version withdrawn

withdrawn after publishing

7 years old

24 releases · first in 2019

0 releases in the last 12 months

see the full history below

Release timeline

24 releases · Mar 2019 to Jun 2022
2020 2021 2022 2023 2024 2025 2026
Release Pre-release Withdrawn

Releases

latest 24
  1. 6.5.3 20 Jun 2022
    Release notes

    Deps

    • h1-client now uses dashmap at version 5.x >, fixing an unsoundness issue.
    Open source →
    Release notes

    6.5.3 Latest

    Latest

    Compare

    Choose a tag to compare

    Open source →
  2. 6.5.2 10 May 2022
    Release notes

    Deps

    • Now only uses dashmap for h1-client.
    Open source →
    Release notes

    6.5.2

    Compare

    Choose a tag to compare

    Open source →
  3. 6.5.1 19 Aug 2021
    Release notes

    Same as 6.5.0 with one change:

    Config::max_connections_per_host() is now properly named Config::set_max_connections_per_host().

    Added

    • Config has been stabilized and is now available by default!
    • wasm_client support for Config (only timeouts).
    • Config::max_connections_per_host (Supported on h1_client and curl_client.)

    Deprecated

    • H1Client::with_max_connections() will be superseded by Config::max_connections_per_host.
    Open source →
    Release notes

    6.5.1

    Compare

    Choose a tag to compare

    Open source →
  4. 6.5.0 19 Aug 2021 withdrawn
    Release notes

    (Yanked)

    Added

    • Config has been stabilized and is now available by default!
    • wasm_client support for Config (only timeouts).
    • Config::max_connections_per_host (Supported on h1_client and curl_client.)

    Deprecated

    • H1Client::with_max_connections() will be superseded by Config::max_connections_per_host.
    Open source →
    Release notes

    6.5.0

    Compare

    Choose a tag to compare

    Open source →
  5. 6.4.1 19 May 2021
    Release notes

    Docs

    • Added "unstable-config" to the docs builds.
    Open source →
    Release notes

    Docs

    • Added "unstable-config" to the docs builds.
    Open source →
    Release notes

    6.4.1

    Compare

    Choose a tag to compare

    Open source →
  6. 6.4.0 18 May 2021
    Release notes

    Added

    • Added a new unstable-config feature, which exposes runtime configuration via a new Config struct.
    Open source →
    Release notes

    Added

    • Added a new unstable-config feature, which exposes runtime configuration via a new Config struct.
    Open source →
    Release notes

    6.4.0

    Compare

    Choose a tag to compare

    Open source →
  7. 6.3.5 12 Mar 2021
    Release notes

    Fixed

    • Multiple headers of the same name are now present with any client backend and not just h1_client.
    • Connection when multiple IPs are present for a hostname not function with the h1_client backend.
    Open source →
    Release notes

    Fixed

    • Multiple headers of the same name are now present with any client backend and not just h1_client.
    • Connection when multiple IPs are present for a hostname not function with the h1_client backend.
    Open source →
    Release notes

    6.3.5

    Compare

    Choose a tag to compare

    Open source →
  8. 6.3.4 06 Mar 2021
    Release notes

    Fixed

    • h1_client connection pools now properly check if connections are still alive before recycling them.
      • Like, actually properly this time.
      • There is a test now to ensure closed connections don't cause errors.
    Open source →
    Release notes

    Fixed

    • h1_client connection pools now properly check if connections are still alive before recycling them.
      • Like, actually properly this time.
      • There is a test now to ensure closed connections don't cause errors.
    Open source →
    Release notes

    6.3.4

    Compare

    Choose a tag to compare

    Open source →
  9. 6.3.3 01 Mar 2021
    Release notes

    Fixed

    • h1_client connection pools now properly check if connections are still alive before recycling them.
    Open source →
    Release notes

    Fixed

    • h1_client connection pools now properly check if connections are still alive before recycling them.
    Open source →
    Release notes

    6.3.3

    Compare

    Choose a tag to compare

    Open source →
  10. 6.3.2 01 Mar 2021
    Release notes

    (This was the same thing as 6.3.1 released by git accident.)

    Open source →
  11. 6.3.1 15 Feb 2021
    Release notes

    Fixed

    • Allow http-client to build & run properly when h1_client is enabled without either tls option.
    • Prefer rustls if both tls features are enabled.

    Internal

    • More exhaustive CI for feature combinations.
    Open source →
    Release notes

    6.3.1

    Compare

    Choose a tag to compare

    Open source →
  12. 6.3.0 12 Feb 2021
    Release notes

    Added

    • Connection pooling (HTTP/1.1 keep-alive) for h1_client (default).
    • native-tls (default) and rustls feature flags.
      • Only works with h1_client.
    • Isahc metrics as a response extension for curl_client.

    Fixed

    • Box<dyn HttpClient> no longer infinitely recurses.
    • curl_client now always correctly reads the response body.
    • hyper_client should now build correctly.
    • WasmClient fetch from worker scope now works correctly.

    Internal

    • Improved CI
    Open source →
  13. 6.2.0 26 Oct 2020
    Release notes

    This release implements HttpClient for Box<dyn HttpClient>.

    Added

    • impl HttpClient for Box<dyn HttpClient>
    Open source →
  14. 6.1.0 09 Oct 2020
    Release notes

    This release brings improvements for HyperClient (hyper_client feature).

    Added

    • HyperClient now impls Default.
    • HyperClient::from_client(hyper::Client<C>).

    Changed

    • HyperClient now re-uses the internal client, allowing connection pooling.
    Open source →
  15. 6.0.0 25 Sep 2020
    Release notes

    This release moves the responsibility of any client sharing to the user.

    Changed

    • HttpClient implementations no longer impl Clone.
      • The responsibility for sharing is the user's.
    • H1Client can no longer be instatiated via H1Client {}.
      • ::new() should be used.
    Open source →
  16. 5.0.1 18 Sep 2020
    Release notes

    Fixed

    • Fixed a body stream translation bug in the hyper_client.
    Open source →
  17. 5.0.0 18 Sep 2020
    Release notes

    This release includes an optional backend using hyper.rs, and uses async-trait for HttpClient.

    Added

    • hyper_client feature, for using hyper.rs as the client backend.

    Changed

    • HttpClient now uses async-trait.
      • This attribute is also re-exported as http_client::async_trait.

    Fixed

    • Fixed WASM compilation.
    • Fixed Isahc (curl) client translation setting duplicate headers incorrectly.
    Open source →
  18. 4.0.0 09 Jul 2020
    Release notes

    This release allows HttpClient to be used as a dynamic Trait object.

    • HttpClient: removed Clone bounds.
    • HttpClient: removed Error type.
    Open source →
  19. 3.0.0 29 May 2020
    Release notes

    This patch updates http-client to http-types 2.0.0 and a new version of async-h1.

    Changes

    • http types and async-h1 for 2.0.0 #27
    Open source →
  20. 2.0.0 17 Apr 2020
    Release notes

    Added

    • Added a new backend: h1-client https://github.com/http-rs/http-client/pull/22

    Changed

    • All types are now based from hyperium/http to http-types https://github.com/http-rs/http-client/pull/22
    Open source →
  21. 1.1.1 17 Dec 2019

    Nothing published for this version

  22. 1.1.0 17 Dec 2019

    Nothing published for this version

  23. 1.0.0 19 Nov 2019

    Nothing published for this version

  24. 0.0.0 29 Mar 2019

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive