263 Commits

Author SHA1 Message Date
nickelc
afed48cafd Make multipart an optional feature (default off) (#1128) 2021-01-04 13:20:17 -08:00
messense
a19eb34196 Update to tokio 1.0, bytes 1.0 (#1076)
Co-authored-by: Wim Looman <git@nemo157.com>
Co-authored-by: Paolo Barbolini <paolo@paolo565.org>
2020-12-30 09:57:50 -08:00
Sean McArthur
5099192b92 v0.10.10 2020-12-14 14:37:37 -08:00
Konrad Borowski
e7be3eda04 Make wasm-bindgen-test a dev dependency 2020-11-24 07:04:21 -08:00
Sean McArthur
b1d498ffa8 v0.10.9 2020-11-19 16:04:32 -08:00
est31
23aaa0b60e Add a rustls-tls-native-roots feature
Adds an optional cargo feature to load certificates
from the OS native certificate store.
2020-11-19 13:13:36 -08:00
est31
3ea9f92f24 Add rustls-tls-manual-roots feature to allow callers to specify roots
Now, callers have more control over the set of roots.

Note that, due to cargo unification, other dependencies in the
dependency tree might enable rustls-tls-webpki-roots
or rustls-tls.
This will affect connections initiated by code that explicitly
enabled rustls-tls-manual-roots.

So for now, the choice is done once per entire cargo
dependency graph. If people want more precise control
over things, they can add methods that allow controlling
this on a per-connection level. Even if such methods
are available, the *-manual-roots feature will still be
helpful with eliminating the webpki-roots dependency
for those cargo graphs where there is no unification.
2020-11-19 13:13:36 -08:00
stevelr
4fe07d81cf add ClientBuilder.default_headers() for wasm32 target (#1084) 2020-11-16 13:09:47 -08:00
Taiki Endo
ff507e12fc Update pin-project-lite to 0.2.0 2020-11-13 15:12:06 -08:00
est31
5b46bfc0bb Update url semver requirement to 2.2 (#1087)
Fixes #1085
2020-11-13 14:37:04 -08:00
stevelr
045d7c7d2f Support Cloudflare workers runtime (#1081) 2020-11-11 10:10:01 -08:00
Constantin Nickel
bf43bb608c Update serde_urlencoded to 0.7 2020-11-06 08:24:45 -08:00
Sebastian Dröge
d42d16c705 Update tokio-socks dependency to 0.3 2020-10-07 10:47:44 -07:00
Sebastian Dröge
5aa517b9b4 Update base64 dependency to 0.13 2020-10-07 10:47:44 -07:00
Fabrice Desré
5031747e8e Update webpki-roots to current version (#1041)
Simple bump from 0.19 to 0.20
2020-09-18 10:48:41 -07:00
Sean McArthur
7ef8e94250 v0.10.8 2020-08-25 09:28:48 -07:00
Paolo Barbolini
cff487ff58 docsrs: build wasm32-unknown-unknown docs (#998) 2020-08-11 08:14:04 -07:00
Sean McArthur
c78aa50d4c v0.10.7 2020-07-24 07:13:27 -07:00
Enno Boland
a800202384 Add multipart for WASM (#966) 2020-07-08 13:10:23 -07:00
Alex Gaynor
1a2c10256a deps(chore): update to the latest rustls (#969) 2020-07-06 09:01:46 -07:00
Paolo Barbolini
f2e8dd2477 Update cookie crates (#946) 2020-06-24 09:04:21 -07:00
alianse777
71386d8734 Implement form() and query() for RequestBuilder [WASM] (#947) 2020-06-15 07:28:51 -07:00
Taylor Thomas
6914091582 feat(proxy): Adds NO_PROXY environment variable support (#877)
* feat(proxy): Adds NO_PROXY environment variable support

Adds support for loading from the `NO_PROXY` or `no_proxy` environment
variables. This should make reqwest support the system proxy settings.
Please note that I brought in one additional dependency in order to
handle CIDR blocks in the no proxy settings.

Closes #705
2020-06-08 15:32:56 -07:00
Sean McArthur
bcb35e9498 v0.10.6 2020-05-29 10:49:54 -07:00
Bryan Burgers
fd253cf1ab Remove webpki-tokio from hyper-rustls (#935)
`reqwest` doesn't actually care how hyper-rustls gets its root certs. By
not specifying any feature for hyper-rustls, `reqwest` is able to work
with `rusoto_core` and others better.
2020-05-29 09:13:03 -07:00
Sean McArthur
6c7190bb4f v0.10.5 2020-05-28 21:23:40 +00:00
Marat Radchenko
90534fa78b Update dependencies (#872) 2020-05-21 11:12:34 -07:00
messense
f332b43d08 Update cookie_store crate version to 0.11 (#914) 2020-05-17 08:05:16 -07:00
Josh Stone
a1b1a1f19b Upgrade dev-dep libflate to 1.0 (#909) 2020-05-11 19:24:22 -07:00
Yevhenii Babichenko
71368104e3 remove dependency on rustls-native-certs (#862) 2020-03-26 09:06:01 -07:00
x1957
84a560a4fa update hyper from 0.13.3 to 0.13.4 (#858) 2020-03-24 08:28:44 -07:00
Paolo Barbolini
b61f81d356 Import 'time' only when using the cookie feature (#855) 2020-03-17 17:47:03 -07:00
Alex Gaynor
b42d2e0e0c Bumped base64 to latest 2020-03-09 08:59:09 -07:00
Sean McArthur
ead2822321 v0.10.4 2020-03-03 17:12:17 -08:00
Sean McArthur
2f875255e1 Fix deprecated hyper client builder methods 2020-03-03 15:47:49 -08:00
Sean McArthur
2e983694f6 Re-enable trust-dns optional feature (#787) 2020-02-27 12:57:13 -08:00
Sean McArthur
41722a14fd Update README and Cargo.toml about wasm 2020-02-27 11:54:43 -08:00
Sean McArthur
53c5aaa259 v0.10.3 2020-02-26 16:48:45 -08:00
Alex Gaynor
a2acf91d9b Bump rustls crate versions to latest (#822) 2020-02-24 15:53:52 -08:00
Sean McArthur
296490ce45 Bump tokio minimum version to 0.2.5 2020-02-24 10:25:17 -08:00
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