wreq-rb 0.6.0-aarch64-linux → 0.6.1-aarch64-linux

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f457452d4537ace62b3dbcdca8a4e136567db1df1b41eec6bd3e9a578f76e8a5
4
- data.tar.gz: 20e556e4a8f9565f666398668961314f1562ed291c1ce1b0a1e7184f00c0e0b3
3
+ metadata.gz: 3a59b2a80bdaf1731f7face8b86de25398d321fc9e0a66c434869d3c79ce9156
4
+ data.tar.gz: b95c12fbec41021bf3dce2013c1fb783f4babd0a930b54a395beccde0cc93e46
5
5
  SHA512:
6
- metadata.gz: f4181f18f37f7c35caa01f4b1846601e440cacaefd746540826b43279f49f83905f2e4a21a8111759bcff097427111d6991e2555e7e8ccd2784dd45f04aff81e
7
- data.tar.gz: cdec49207ea682f8b9cdb4c51825ed0d5d2bfaf7e87cece6433b3a4fa1e69f700e35efdc91f48db1a040419a6aa6f1f907380d736373906a21ceeff042672053
6
+ metadata.gz: aa1d89143efd742c76ec4b7acb4c2df0012c8f9934541f95380cf8ff11be8536ced80fda0408b5ac4b8af8db44eb2f1ce47b23b5cc955ed3a44305b28a9575eb
7
+ data.tar.gz: 01df00261a1bb432ae441694fb58dbe4662ac0230d30db31da62dba2339e4d81696c06deaf4f1117e0556ca05c9adc506ad1cfa2f2334a6cc5831e9657a5bd8b
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Wreq
4
- VERSION = "0.6.0"
4
+ VERSION = "0.6.1"
5
5
  end
Binary file
Binary file
Binary file
@@ -1,5 +1,5 @@
1
1
  diff --git a/src/client.rs b/src/client.rs
2
- index 4abe25d8..76e709a8 100644
2
+ index 214fe423..ccbdb0e9 100644
3
3
  --- a/src/client.rs
4
4
  +++ b/src/client.rs
5
5
  @@ -49,6 +49,7 @@ use self::{
@@ -10,18 +10,14 @@ index 4abe25d8..76e709a8 100644
10
10
  },
11
11
  request::{Request, RequestBuilder},
12
12
  response::Response,
13
- @@ -115,25 +116,30 @@ type MaybeDecompressionBody<T> = tower_http::decompression::DecompressionBody<T>
13
+ @@ -116,24 +117,26 @@ type MaybeDecompressionBody<T> = tower_http::decompression::DecompressionBody<T>
14
+
14
15
  type ClientService = Timeout<
15
16
  ConfigService<
16
- MaybeDecompression<
17
- - Retry<RetryPolicy, FollowRedirect<HttpClient<Connector, Body>, FollowRedirectPolicy>>,
18
- + TransferSizeService<
19
- + Retry<
20
- + RetryPolicy,
21
- + FollowRedirect<HttpClient<Connector, Body>, FollowRedirectPolicy>,
22
- + >,
23
- + >,
24
- >,
17
+ - MaybeDecompression<Retry<RetryPolicy, FollowRedirect<HttpClient<Connector, Body>>>>,
18
+ + MaybeDecompression<
19
+ + TransferSizeService<Retry<RetryPolicy, FollowRedirect<HttpClient<Connector, Body>>>>,
20
+ + >,
25
21
  >,
26
22
  >;
27
23
 
@@ -45,7 +41,7 @@ index 4abe25d8..76e709a8 100644
45
41
  BoxError,
46
42
  >;
47
43
 
48
- @@ -593,6 +599,10 @@ impl ClientBuilder {
44
+ @@ -597,6 +600,10 @@ impl ClientBuilder {
49
45
  })
50
46
  .service(service);
51
47
 
@@ -56,7 +52,7 @@ index 4abe25d8..76e709a8 100644
56
52
  #[cfg(any(
57
53
  feature = "gzip",
58
54
  feature = "zstd",
59
- @@ -1585,7 +1595,7 @@ impl ClientBuilder {
55
+ @@ -1607,7 +1614,7 @@ impl ClientBuilder {
60
56
  L: Layer<
61
57
  BoxCloneSyncService<
62
58
  http::Request<Body>,
@@ -65,7 +61,7 @@ index 4abe25d8..76e709a8 100644
65
61
  BoxError,
66
62
  >,
67
63
  > + Clone
68
- @@ -1594,7 +1604,7 @@ impl ClientBuilder {
64
+ @@ -1616,7 +1623,7 @@ impl ClientBuilder {
69
65
  + 'static,
70
66
  L::Service: Service<
71
67
  http::Request<Body>,
@@ -266,7 +262,7 @@ index 00000000..f155ec8d
266
262
  + }
267
263
  +}
268
264
  diff --git a/src/client/response.rs b/src/client/response.rs
269
- index 3d3532af..ed478804 100644
265
+ index 3d3532af..7d29ec45 100644
270
266
  --- a/src/client/response.rs
271
267
  +++ b/src/client/response.rs
272
268
  @@ -18,6 +18,7 @@ use mime::Mime;
@@ -2,8 +2,8 @@
2
2
 
3
3
  [![CI](https://github.com/0x676e67/wreq/actions/workflows/ci.yml/badge.svg)](https://github.com/0x676e67/wreq/actions/workflows/ci.yml)
4
4
  [![Crates.io License](https://img.shields.io/crates/l/wreq)](https://github.com/0x676e67/wreq/blob/main/LICENSE)
5
- [![Crates.io MSRV](https://img.shields.io/crates/msrv/wreq?logo=rust)](https://crates.io/crates/wreq)
6
- [![crates.io](https://img.shields.io/crates/v/wreq.svg?logo=rust)](https://crates.io/crates/wreq)
5
+ [![Crates.io MSRV](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fcrates.io%2Fapi%2Fv1%2Fcrates%2Fwreq%2Fversions%3Fsort%3Ddate%26per_page%3D1&query=%24.versions%5B0%5D.rust_version&suffix=.0&label=MSRV&color=blue&logo=rust)](https://crates.io/crates/wreq)
6
+ [![crates.io](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fcrates.io%2Fapi%2Fv1%2Fcrates%2Fwreq&query=%24.crate.max_stable_version&prefix=v&label=crates.io&color=orange&logo=rust)](https://crates.io/crates/wreq)
7
7
  [![Discord chat][discord-badge]][discord-url]
8
8
 
9
9
  [discord-badge]: https://img.shields.io/discord/1486741856397164788.svg?logo=discord
@@ -35,8 +35,8 @@ The following example uses the [Tokio](https://tokio.rs) runtime with optional f
35
35
  ```toml
36
36
  [dependencies]
37
37
  tokio = { version = "1", features = ["full"] }
38
- wreq = "6.0.0-rc"
39
- wreq-util = "3.0.0-rc"
38
+ wreq = "0.16"
39
+ wreq-util = "0.2"
40
40
  ```
41
41
 
42
42
  And then the code:
@@ -53,7 +53,7 @@ async fn main() -> wreq::Result<()> {
53
53
  .build()?;
54
54
 
55
55
  // Use the API you're already familiar with
56
- let resp = client.get("https://tls.peet.ws/api/all").send().await?;
56
+ let resp = client.get("https://pingly.us.kg/api/all").send().await?;
57
57
  println!("{}", resp.text().await?);
58
58
  Ok(())
59
59
  }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wreq-rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  platform: aarch64-linux
6
6
  authors:
7
7
  - Yicheng Zhou