Commit Graph

226 Commits

Author SHA1 Message Date
Mohamed Daahir
b48cb4a5aa Add native-tls-alpn feature (#1283) 2021-06-09 17:05:29 -07:00
Mohamed Daahir
8d3e27966c use ZlibDecoder for deflate responses (#1257) 2021-04-26 16:52:29 -07:00
Mohamed Daahir
77ee0df7c5 Support Deflate decoding (#1250) 2021-04-22 10:35:29 -07:00
Sean McArthur
7afade446c v0.11.3 2021-04-12 15:50:10 -07:00
xushaodong
1614c5ea64 supports wasm fetch credentials 2021-04-06 12:42:05 -07:00
Sean McArthur
80999a8963 v0.11.2 2021-03-09 11:05:35 -08:00
nickelc
6ac97dc3aa Add minimal versions check for nightly CI job (#1197) 2021-02-22 16:13:50 -08:00
Kornel
61a955c821 Bump mime to current version (#1196) 2021-02-21 08:42:16 -08:00
meldron
dabb878f32 update native-tls to v0.2.7 (#1183)
Update to v0.2.7 to prevent possible build error (#1181) caused by
incompatible native-tls version < v0.2.7

Co-authored-by: Bernd Kaiser <bk@dfjk.eu>
2021-02-19 05:51:01 -08:00
Sean McArthur
8689aa47e0 v0.11.1 2021-02-18 10:41:02 -08:00
nickelc
c27cd06a11 Use doc_cfg to show feature requirements (#1134)
* Use `doc_cfg` to show feature requirements

* Apply suggestions from code review
2021-02-17 16:48:08 -08:00
glyphpoch
e56bd160ba Enable hyper's runtime feature (#1162) (#1163)
`hyper` implements idle connection cleanup by spawning a new task which
drops the connection after a while. This mechanism requires Tokio, so it
is hidden behing the "runtime" feature, which reqwest doesn't enable,
making some connections stay in the pool forever. Fixes #1162.
2021-02-05 16:36:50 -08:00
Sean McArthur
bd9ff9f371 v0.11.0 2021-01-05 10:19:00 -08:00
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