Commit Graph

223 Commits

Author SHA1 Message Date
Sean McArthur
9bb455d125 v0.10.2 2020-02-21 12:42:51 -08:00
EnokMan
f831d62da0 Brotli support (#791) 2020-02-19 12:49:11 -08:00
Héctor Ramón
f6ff7f4364 Implement Response::json for wasm32 target (#802) 2020-02-06 10:39:57 -08:00
Sean McArthur
d662c850a9 v0.10.1 2020-01-09 13:50:56 -08:00
r-arias
20d50daa8b re-add the "socks" feature (using tokio-socks) (#769)
The "socks" feature has been removed for a while now, the optional
dependency on the "socks" crate commented out.

The code for actually providing the socks feature was, however, still
mostly present, if a bit out of date.

This commit re-adds the socks feature using the tokio-socks (instead of
socks) crate.

Closes #620
2020-01-09 12:25:26 -08:00
rhysd
6004623784 Add RequestBuilder::fetch_mode_no_cors() 2020-01-08 11:47:47 -08:00
Sean McArthur
c0f717cf30 Enable blocking, cookies, and json features on Playground 2020-01-02 11:44:04 -08:00
Sean McArthur
35c6ddd00b v0.10.0 2019-12-30 10:25:44 -08:00
Sean McArthur
47734f55f4 Replace futures-channel with tokio::sync in blocking client (#748) 2019-12-23 12:01:23 -08:00
Sean McArthur
24abf2fcbd Separate default-tls and native-tls features (#749)
To allow for the default-tls to change to a different backend by
default, this adds a new `native-tls` optional feature. Any TLS feature
that was only available using native-tls now requires the `native-tls`
feature to be enabled.
2019-12-20 13:22:56 -08:00
Sean McArthur
18fd9a63b0 Re-enable rustls (#747) 2019-12-19 11:43:03 -08:00
Sean McArthur
a57afd50ea Reduce futures optional features (#737) 2019-12-12 12:34:44 -08:00
Sean McArthur
7631c0390e Rename 'unstable-stream' feature to 'stream' (#733) 2019-12-10 16:55:53 -08:00
Gleb Pomykalov
0f32c4a01a Update to hyper 0.13 2019-12-10 16:24:05 -08:00
Sean McArthur
43e15e2094 v0.10.0-alpha.2 2019-11-12 10:14:39 -08:00
nickelc
bab6001e0b Pin async-compression to the last alpha (#703) 2019-11-07 12:04:01 -08:00
Christian Bourjau
b24b0be461 wasm: Add bytes method to wasm response (#694)
the bytes method was missing from the Response object of the wasm32
compilation target.
2019-10-30 13:32:31 -07:00
Alex Gaynor
3090a68d53 dependencies: upgrade base64 to latest version (#692) 2019-10-25 15:42:29 -07:00
Paolo Barbolini
dd65fc7c3a wasm: translate over response headers (#689)
Closes #656
2019-10-21 13:55:42 -07:00
Sean McArthur
7739e03123 Enable "system" proxies by default (#683)
If no proxies are configured for a client, the environment (system) will
be inspected automatically to set up proxies.

Configuring a `Proxy` on a client or calling `no_proxy` will disable the
use of the automatic system proxy.

Closes #403
2019-10-17 13:32:00 -07:00
Sean McArthur
8583dd2b4c Replace uuid dependency with tiny internal RNG (#679) 2019-10-15 14:54:26 -07:00
Alex Gaynor
09a541cff5 chore(deps): bump cookie_store dependency to the latest version (#673) 2019-10-14 11:26:02 -07:00
lzutao
5e5e6e9040 chore(deps): bump wasm-bindgen-futures (#675) 2019-10-14 11:25:17 -07:00
Sean McArthur
75ee4646ac v0.10.0-alpha.1 2019-10-08 14:00:20 -07:00
Sean McArthur
cba1e4e82e Update tokio and hyper alphas 2019-10-01 14:26:42 -07:00
Sean McArthur
ebe57e10a3 Put Stream APIs behind unstable-stream feature 2019-09-27 17:00:15 -07:00
Constantin Nickel
24394364eb Make json an optional feature (default off) 2019-09-27 12:27:23 -07:00
Constantin Nickel
a787fc1b38 Prune the tokio dependencies 2019-09-27 11:53:15 -07:00
Sean McArthur
932defd879 Introduce unstable, incomplete WASM support 2019-09-26 10:01:08 -07:00
Sean McArthur
6413a4349e Update tokio and hyper alphas 2019-09-25 14:19:37 -07:00
Sean McArthur
f71227d968 Make gzip an optional feature (default off) 2019-09-23 15:46:25 -07:00
nickelc
3cf8ede960 Make futures-channel dependency of blocking API (#644) 2019-09-19 09:03:39 -07:00
Sean McArthur
7e3c1bc461 Make the blocking API an optional feature (default off) 2019-09-18 12:39:02 -07:00
Sean McArthur
0a87d3d7da Make cookies an optional feature (default off) 2019-09-17 16:50:54 -07:00
Constantin Nickel
b1a90eb402 Prune the futures dependencies 2019-09-12 07:52:31 -07:00
Sean McArthur
5fb04356fc Re-enable rustls feature (#625) 2019-09-09 12:45:45 -07:00
Sean McArthur
ba7b2a754e refactor all to async/await (#617)
Co-authored-by: Danny Browning <danny.browning@protectwise.com>
Co-authored-by: Daniel Eades <danieleades@hotmail.com>
2019-09-06 17:22:56 -07:00
Nikhil Benesch
f60456c8e3 Upgrade to url v2.0 (#583) 2019-09-04 18:27:20 -07:00
Luca Bruno
3033f11639 cargo: update to rustls 0.16 2019-08-20 14:05:34 -07:00
Daniel Eades
5dc5162765 update and tidy code 2019-08-16 12:59:55 -07:00
Sean McArthur
c3b2a26c46 Prepare master for 0.10 breaking changes 2019-08-16 11:47:05 -07:00
Sean McArthur
7d04fa1dfa Update to released mime_guess v2.0 2019-08-14 11:36:42 -07:00
Sean McArthur
d29e12db10 v0.9.19 2019-07-19 12:23:04 -07:00
WindSoilder
577d06c363 Add support for system/environment proxies (#547) 2019-07-01 16:27:58 -07:00
Dmitry Pankratov
e16aed5e3c Added support for sending requests with streaming Body (#545) 2019-06-14 10:29:54 -07:00
Sean McArthur
9f256405e5 v0.9.18 2019-06-06 11:33:03 -07:00
nirasan
9f22f46e85 Clarify correct specification of dependency on serde (#525)
Closes #494
2019-05-16 10:46:00 -07:00
Sean McArthur
11d477f49a v0.9.17 2019-05-15 13:22:42 -07:00
Johan Andersson
795602450b Update cookie 0.12 and cookie_store 0.7 (#518)
Fix #517
2019-05-06 10:29:07 -07:00
Sean McArthur
bf5a268079 v0.9.16 2019-04-30 15:27:12 -07:00