wreq 1.3.2.4 → 1.3.3
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 +4 -4
- data/Cargo.lock +470 -50
- data/Cargo.toml +19 -16
- data/README.md +5 -12
- data/Rakefile +3 -9
- data/crates/wreq-util/Cargo.toml +1 -1
- data/crates/wreq-util/README.md +4 -2
- data/crates/wreq-util/examples/emulate.rs +7 -3
- data/crates/wreq-util/examples/tower_delay.rs +4 -4
- data/crates/wreq-util/src/emulate/macros.rs +197 -32
- data/crates/wreq-util/src/emulate/profile/chrome/header.rs +116 -0
- data/crates/wreq-util/src/emulate/profile/chrome/http2.rs +65 -0
- data/crates/wreq-util/src/emulate/profile/chrome/tls.rs +268 -0
- data/crates/wreq-util/src/emulate/profile/chrome.rs +2269 -0
- data/crates/wreq-util/src/emulate/profile/firefox/header.rs +54 -48
- data/crates/wreq-util/src/emulate/profile/firefox/http2.rs +102 -92
- data/crates/wreq-util/src/emulate/profile/firefox/tls.rs +146 -155
- data/crates/wreq-util/src/emulate/profile/firefox.rs +440 -312
- data/crates/wreq-util/src/emulate/profile/okhttp.rs +2 -3
- data/crates/wreq-util/src/emulate/profile/opera/header.rs +29 -0
- data/crates/wreq-util/src/emulate/profile/opera/http2.rs +50 -0
- data/crates/wreq-util/src/emulate/profile/opera/tls.rs +103 -0
- data/crates/wreq-util/src/emulate/profile/opera.rs +299 -0
- data/crates/wreq-util/src/emulate/profile.rs +10 -10
- data/crates/wreq-util/src/emulate.rs +1 -34
- data/crates/wreq-util/src/tower/delay/layer.rs +5 -5
- data/crates/wreq-util/src/tower/delay.rs +4 -4
- data/crates/wreq-util/tests/client.rs +50 -187
- data/crates/wreq-util/tests/emulate_chrome.rs +0 -17
- data/crates/wreq-util/tests/emulate_firefox.rs +26 -36
- data/crates/wreq-util/tests/emulate_opera.rs +0 -24
- data/crates/wreq-util/tests/support/mod.rs +1 -1
- data/lib/wreq_ruby/client.rb +27 -13
- data/lib/wreq_ruby/emulate.rb +3 -28
- data/lib/wreq_ruby/http.rb +9 -2
- data/src/client/body/json.rs +1 -2
- data/src/client/resp.rs +1 -1
- data/src/client.rs +8 -4
- data/src/emulate.rs +5 -28
- data/src/error.rs +23 -3
- data/src/lib.rs +3 -2
- data/src/options.rs +17 -19
- data/{crates/serde-magnus/src → src/serde}/de/array_deserializer.rs +2 -2
- data/{crates/serde-magnus/src → src/serde}/de/array_enumerator.rs +1 -1
- data/{crates/serde-magnus/src → src/serde}/de/deserializer.rs +31 -25
- data/{crates/serde-magnus/src → src/serde}/de/enum_deserializer.rs +3 -3
- data/{crates/serde-magnus/src → src/serde}/de/hash_deserializer.rs +2 -2
- data/{crates/serde-magnus/src → src/serde}/de/number_deserializer.rs +2 -2
- data/{crates/serde-magnus/src → src/serde}/de/variant_deserializer.rs +20 -11
- data/src/serde/de.rs +33 -0
- data/src/serde/error.rs +146 -0
- data/src/serde/ser/enums.rs +14 -0
- data/{crates/serde-magnus/src → src/serde}/ser/map_serializer.rs +2 -2
- data/src/serde/ser/seq_serializer.rs +71 -0
- data/src/serde/ser/serializer.rs +194 -0
- data/{crates/serde-magnus/src → src/serde}/ser/struct_serializer.rs +4 -4
- data/src/serde/ser/struct_variant_serializer.rs +44 -0
- data/src/serde/ser/tuple_variant_serializer.rs +41 -0
- data/src/serde/ser.rs +18 -0
- data/{crates/serde-magnus/src → src/serde}/tests.rs +68 -19
- data/src/serde.rs +202 -0
- data/test/emulation_test.rb +104 -21
- data/test/option_validation_test.rb +13 -4
- data/wreq.gemspec +15 -3
- metadata +29 -35
- data/VERSION +0 -1
- data/crates/README.md +0 -6
- data/crates/serde-magnus/Cargo.toml +0 -29
- data/crates/serde-magnus/LICENSE +0 -19
- data/crates/serde-magnus/README.md +0 -147
- data/crates/serde-magnus/src/de/mod.rs +0 -554
- data/crates/serde-magnus/src/error.rs +0 -84
- data/crates/serde-magnus/src/lib.rs +0 -137
- data/crates/serde-magnus/src/options.rs +0 -151
- data/crates/serde-magnus/src/ser/enums.rs +0 -11
- data/crates/serde-magnus/src/ser/mod.rs +0 -428
- data/crates/serde-magnus/src/ser/seq_serializer.rs +0 -68
- data/crates/serde-magnus/src/ser/serializer.rs +0 -220
- data/crates/serde-magnus/src/ser/struct_variant_serializer.rs +0 -45
- data/crates/serde-magnus/src/ser/tuple_variant_serializer.rs +0 -38
- data/crates/wreq-util/src/emulate/profile/chromium/chrome.rs +0 -731
- data/crates/wreq-util/src/emulate/profile/chromium/edge.rs +0 -418
- data/crates/wreq-util/src/emulate/profile/chromium/header.rs +0 -74
- data/crates/wreq-util/src/emulate/profile/chromium/http2.rs +0 -59
- data/crates/wreq-util/src/emulate/profile/chromium/opera.rs +0 -312
- data/crates/wreq-util/src/emulate/profile/chromium/tls.rs +0 -310
- data/crates/wreq-util/src/emulate/profile/chromium.rs +0 -9
- data/test/emulation_client_hello_test.rb +0 -142
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: wreq
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.3.
|
|
4
|
+
version: 1.3.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- SearchApi
|
|
@@ -27,32 +27,7 @@ files:
|
|
|
27
27
|
- LICENSE
|
|
28
28
|
- README.md
|
|
29
29
|
- Rakefile
|
|
30
|
-
- VERSION
|
|
31
30
|
- build.rs
|
|
32
|
-
- crates/README.md
|
|
33
|
-
- crates/serde-magnus/Cargo.toml
|
|
34
|
-
- crates/serde-magnus/LICENSE
|
|
35
|
-
- crates/serde-magnus/README.md
|
|
36
|
-
- crates/serde-magnus/src/de/array_deserializer.rs
|
|
37
|
-
- crates/serde-magnus/src/de/array_enumerator.rs
|
|
38
|
-
- crates/serde-magnus/src/de/deserializer.rs
|
|
39
|
-
- crates/serde-magnus/src/de/enum_deserializer.rs
|
|
40
|
-
- crates/serde-magnus/src/de/hash_deserializer.rs
|
|
41
|
-
- crates/serde-magnus/src/de/mod.rs
|
|
42
|
-
- crates/serde-magnus/src/de/number_deserializer.rs
|
|
43
|
-
- crates/serde-magnus/src/de/variant_deserializer.rs
|
|
44
|
-
- crates/serde-magnus/src/error.rs
|
|
45
|
-
- crates/serde-magnus/src/lib.rs
|
|
46
|
-
- crates/serde-magnus/src/options.rs
|
|
47
|
-
- crates/serde-magnus/src/ser/enums.rs
|
|
48
|
-
- crates/serde-magnus/src/ser/map_serializer.rs
|
|
49
|
-
- crates/serde-magnus/src/ser/mod.rs
|
|
50
|
-
- crates/serde-magnus/src/ser/seq_serializer.rs
|
|
51
|
-
- crates/serde-magnus/src/ser/serializer.rs
|
|
52
|
-
- crates/serde-magnus/src/ser/struct_serializer.rs
|
|
53
|
-
- crates/serde-magnus/src/ser/struct_variant_serializer.rs
|
|
54
|
-
- crates/serde-magnus/src/ser/tuple_variant_serializer.rs
|
|
55
|
-
- crates/serde-magnus/src/tests.rs
|
|
56
31
|
- crates/wreq-util/.github/FUNDING.yml
|
|
57
32
|
- crates/wreq-util/.github/ISSUE_TEMPLATE/bug_report.md
|
|
58
33
|
- crates/wreq-util/.github/ISSUE_TEMPLATE/custom.md
|
|
@@ -73,18 +48,19 @@ files:
|
|
|
73
48
|
- crates/wreq-util/src/emulate/compress.rs
|
|
74
49
|
- crates/wreq-util/src/emulate/macros.rs
|
|
75
50
|
- crates/wreq-util/src/emulate/profile.rs
|
|
76
|
-
- crates/wreq-util/src/emulate/profile/
|
|
77
|
-
- crates/wreq-util/src/emulate/profile/
|
|
78
|
-
- crates/wreq-util/src/emulate/profile/
|
|
79
|
-
- crates/wreq-util/src/emulate/profile/
|
|
80
|
-
- crates/wreq-util/src/emulate/profile/chromium/http2.rs
|
|
81
|
-
- crates/wreq-util/src/emulate/profile/chromium/opera.rs
|
|
82
|
-
- crates/wreq-util/src/emulate/profile/chromium/tls.rs
|
|
51
|
+
- crates/wreq-util/src/emulate/profile/chrome.rs
|
|
52
|
+
- crates/wreq-util/src/emulate/profile/chrome/header.rs
|
|
53
|
+
- crates/wreq-util/src/emulate/profile/chrome/http2.rs
|
|
54
|
+
- crates/wreq-util/src/emulate/profile/chrome/tls.rs
|
|
83
55
|
- crates/wreq-util/src/emulate/profile/firefox.rs
|
|
84
56
|
- crates/wreq-util/src/emulate/profile/firefox/header.rs
|
|
85
57
|
- crates/wreq-util/src/emulate/profile/firefox/http2.rs
|
|
86
58
|
- crates/wreq-util/src/emulate/profile/firefox/tls.rs
|
|
87
59
|
- crates/wreq-util/src/emulate/profile/okhttp.rs
|
|
60
|
+
- crates/wreq-util/src/emulate/profile/opera.rs
|
|
61
|
+
- crates/wreq-util/src/emulate/profile/opera/header.rs
|
|
62
|
+
- crates/wreq-util/src/emulate/profile/opera/http2.rs
|
|
63
|
+
- crates/wreq-util/src/emulate/profile/opera/tls.rs
|
|
88
64
|
- crates/wreq-util/src/emulate/profile/safari.rs
|
|
89
65
|
- crates/wreq-util/src/emulate/profile/safari/header.rs
|
|
90
66
|
- crates/wreq-util/src/emulate/profile/safari/http2.rs
|
|
@@ -151,12 +127,30 @@ files:
|
|
|
151
127
|
- src/macros.rs
|
|
152
128
|
- src/options.rs
|
|
153
129
|
- src/rt.rs
|
|
130
|
+
- src/serde.rs
|
|
131
|
+
- src/serde/de.rs
|
|
132
|
+
- src/serde/de/array_deserializer.rs
|
|
133
|
+
- src/serde/de/array_enumerator.rs
|
|
134
|
+
- src/serde/de/deserializer.rs
|
|
135
|
+
- src/serde/de/enum_deserializer.rs
|
|
136
|
+
- src/serde/de/hash_deserializer.rs
|
|
137
|
+
- src/serde/de/number_deserializer.rs
|
|
138
|
+
- src/serde/de/variant_deserializer.rs
|
|
139
|
+
- src/serde/error.rs
|
|
140
|
+
- src/serde/ser.rs
|
|
141
|
+
- src/serde/ser/enums.rs
|
|
142
|
+
- src/serde/ser/map_serializer.rs
|
|
143
|
+
- src/serde/ser/seq_serializer.rs
|
|
144
|
+
- src/serde/ser/serializer.rs
|
|
145
|
+
- src/serde/ser/struct_serializer.rs
|
|
146
|
+
- src/serde/ser/struct_variant_serializer.rs
|
|
147
|
+
- src/serde/ser/tuple_variant_serializer.rs
|
|
148
|
+
- src/serde/tests.rs
|
|
154
149
|
- src/tls.rs
|
|
155
150
|
- test/body_sender_test.rb
|
|
156
151
|
- test/client_cookie_test.rb
|
|
157
152
|
- test/client_test.rb
|
|
158
153
|
- test/cookie_test.rb
|
|
159
|
-
- test/emulation_client_hello_test.rb
|
|
160
154
|
- test/emulation_test.rb
|
|
161
155
|
- test/error_handling_test.rb
|
|
162
156
|
- test/fork_test.rb
|
|
@@ -205,7 +199,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
205
199
|
- !ruby/object:Gem::Version
|
|
206
200
|
version: '0'
|
|
207
201
|
requirements:
|
|
208
|
-
- Rust >= 1.
|
|
202
|
+
- Rust >= 1.98
|
|
209
203
|
rubygems_version: 3.6.9
|
|
210
204
|
specification_version: 4
|
|
211
205
|
summary: Ruby bindings for wreq, an HTTP client with TLS/HTTP2 browser fingerprinting
|
data/VERSION
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
1.3.2.4
|
data/crates/README.md
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
# Local Rust dependencies
|
|
2
|
-
|
|
3
|
-
- [`serde_magnus`](serde-magnus/) is based on OneSignal's `serde_magnus`. The root package uses it as a path dependency and workspace member so it shares the lockfile and runs in `bundle exec rake test`.
|
|
4
|
-
- [`wreq-util`](wreq-util/) is a local copy of [0x676e67/wreq-util](https://github.com/0x676e67/wreq-util). The root [`Cargo.toml`](../Cargo.toml) resolves it from `crates/wreq-util` through `[patch.crates-io]`.
|
|
5
|
-
|
|
6
|
-
When building or testing `wreq-util` on its own, use the Git dependency patches from the root manifest of the same branch. Cargo does not inherit those patches from the parent package.
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
[package]
|
|
2
|
-
name = "serde_magnus"
|
|
3
|
-
version = "0.11.0"
|
|
4
|
-
description = "Serde integration for Magnus"
|
|
5
|
-
edition = "2024"
|
|
6
|
-
rust-version = "1.98"
|
|
7
|
-
publish = false
|
|
8
|
-
authors = [
|
|
9
|
-
"Joe Wilm <joe@jwilm.com>",
|
|
10
|
-
"George Claghorn <georgeclaghorn@gmail.com>",
|
|
11
|
-
]
|
|
12
|
-
repository = "https://github.com/OneSignal/serde-magnus"
|
|
13
|
-
documentation = "https://docs.rs/serde_magnus"
|
|
14
|
-
license = "MIT"
|
|
15
|
-
readme = "README.md"
|
|
16
|
-
keywords = ["serde", "magnus", "ruby"]
|
|
17
|
-
categories = ["development-tools::ffi"]
|
|
18
|
-
|
|
19
|
-
[dependencies]
|
|
20
|
-
serde = "1.0"
|
|
21
|
-
magnus = { version = "0.9.0", features = ["bytes"] }
|
|
22
|
-
indexmap = "2.14.0"
|
|
23
|
-
serde_ignored = "0.1.14"
|
|
24
|
-
serde_path_to_error = "0.1.20"
|
|
25
|
-
|
|
26
|
-
[dev-dependencies]
|
|
27
|
-
serde = { version = "1.0", features = ["derive"] }
|
|
28
|
-
serde_bytes = "0.11"
|
|
29
|
-
magnus = { version = "0.9.0", features = ["embed"] }
|
data/crates/serde-magnus/LICENSE
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
Copyright 2022 George Claghorn
|
|
2
|
-
|
|
3
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
4
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
5
|
-
in the Software without restriction, including without limitation the rights to
|
|
6
|
-
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
|
7
|
-
of the Software, and to permit persons to whom the Software is furnished to do
|
|
8
|
-
so, subject to the following conditions:
|
|
9
|
-
|
|
10
|
-
The above copyright notice and this permission notice shall be included in all
|
|
11
|
-
copies or substantial portions of the Software.
|
|
12
|
-
|
|
13
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
14
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
15
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
16
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
17
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
18
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
19
|
-
SOFTWARE.
|
|
@@ -1,147 +0,0 @@
|
|
|
1
|
-
# `serde_magnus`
|
|
2
|
-
|
|
3
|
-
`serde_magnus` converts between Rust and Ruby data structures using [Serde] and [Magnus].
|
|
4
|
-
|
|
5
|
-
[Serde]: https://github.com/serde-rs/serde
|
|
6
|
-
[Magnus]: https://github.com/matsadler/magnus
|
|
7
|
-
|
|
8
|
-
## Local maintenance
|
|
9
|
-
|
|
10
|
-
This crate is based on [OneSignal's serde_magnus 0.11.0 source][upstream]. It
|
|
11
|
-
uses the same Magnus 0.9 series and Rust 1.98 minimum as `wreq-ruby`.
|
|
12
|
-
|
|
13
|
-
### Local patches
|
|
14
|
-
|
|
15
|
-
- `src/de/` and `src/ser/` preserve arbitrary-size JSON integers in both
|
|
16
|
-
directions and support typed `i128` and `u128`. JSON input validates object keys,
|
|
17
|
-
finite floats, and container depth. The precision tests also cover the
|
|
18
|
-
private number token shared with `serde_json`.
|
|
19
|
-
- `src/options.rs` validates option names before converting values and attaches
|
|
20
|
-
the failing field path to Ruby exceptions.
|
|
21
|
-
- `src/error.rs` carries Serde errors until the conversion entry point can use
|
|
22
|
-
its Ruby handle. The deserializer and map serializer check iteration and map
|
|
23
|
-
state.
|
|
24
|
-
|
|
25
|
-
To sync, diff this directory against the pinned source tree, reapply the local
|
|
26
|
-
changes to the new upstream commit, and update the pin below. Run
|
|
27
|
-
`cargo test --locked -p serde_magnus` and `bundle exec rake test` from the
|
|
28
|
-
repository root. The Ruby tests in `test/json_precision_test.rb` and
|
|
29
|
-
`test/option_validation_test.rb` exercise the request, response, and option
|
|
30
|
-
entry points.
|
|
31
|
-
|
|
32
|
-
[upstream]: https://github.com/OneSignal/serde-magnus/tree/b84e35d03af9f84edf32e29c1fc022b4411ba9b9
|
|
33
|
-
|
|
34
|
-
## Upstream documentation
|
|
35
|
-
|
|
36
|
-
* [API documentation](https://docs.rs/serde_magnus)
|
|
37
|
-
* [Releases/changelog](https://github.com/OneSignal/serde-magnus/releases)
|
|
38
|
-
* [`serde_magnus` on crates.io](https://crates.io/crates/serde_magnus)
|
|
39
|
-
|
|
40
|
-
## Usage
|
|
41
|
-
|
|
42
|
-
The [`serde_magnus::serialize`] function converts from a Rust type implementing the
|
|
43
|
-
[`serde::Serialize`] trait into a Ruby equivalent.
|
|
44
|
-
|
|
45
|
-
```rust
|
|
46
|
-
use serde::{Serialize, Deserialize};
|
|
47
|
-
use magnus::{eval, Ruby, Value};
|
|
48
|
-
use serde_magnus::serialize;
|
|
49
|
-
|
|
50
|
-
#[derive(Serialize, Deserialize, PartialEq, Debug)]
|
|
51
|
-
struct Post {
|
|
52
|
-
title: String,
|
|
53
|
-
content: String,
|
|
54
|
-
author: Author,
|
|
55
|
-
tags: Vec<String>
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
#[derive(Serialize, Deserialize, PartialEq, Debug)]
|
|
59
|
-
struct Author {
|
|
60
|
-
name: String,
|
|
61
|
-
email_address: String
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
let post = Post {
|
|
65
|
-
title: "Spring carnival planning update".into(),
|
|
66
|
-
content: "Here's what's new.".into(),
|
|
67
|
-
author: Author {
|
|
68
|
-
name: "Martha".into(),
|
|
69
|
-
email_address: "martha@example.com".into()
|
|
70
|
-
},
|
|
71
|
-
tags: vec![
|
|
72
|
-
"carnival".into(),
|
|
73
|
-
"update".into()
|
|
74
|
-
]
|
|
75
|
-
};
|
|
76
|
-
|
|
77
|
-
let ruby = Ruby::get().unwrap();
|
|
78
|
-
let post: Value = serialize(&ruby, &post)?;
|
|
79
|
-
|
|
80
|
-
assert!(eval!(
|
|
81
|
-
&ruby,
|
|
82
|
-
r#"
|
|
83
|
-
post == {
|
|
84
|
-
title: "Spring carnival planning update",
|
|
85
|
-
content: "Here's what's new.",
|
|
86
|
-
author: {
|
|
87
|
-
name: "Martha",
|
|
88
|
-
email_address: "martha@example.com"
|
|
89
|
-
},
|
|
90
|
-
tags: ["carnival", "update"]
|
|
91
|
-
}
|
|
92
|
-
"#,
|
|
93
|
-
post
|
|
94
|
-
)?);
|
|
95
|
-
```
|
|
96
|
-
|
|
97
|
-
[`serde_magnus::deserialize`] converts from a Ruby value to a Rust type implementing
|
|
98
|
-
[`serde::Deserialize`].
|
|
99
|
-
|
|
100
|
-
```rust
|
|
101
|
-
use magnus::{RHash, Ruby};
|
|
102
|
-
use serde_magnus::deserialize;
|
|
103
|
-
|
|
104
|
-
let ruby = Ruby::get().unwrap();
|
|
105
|
-
let post: RHash = eval!(&ruby, r#"
|
|
106
|
-
{
|
|
107
|
-
title: "Spring carnival planning update",
|
|
108
|
-
content: "Here's what's new.",
|
|
109
|
-
author: {
|
|
110
|
-
name: "Martha",
|
|
111
|
-
email_address: "martha@example.com"
|
|
112
|
-
},
|
|
113
|
-
tags: ["carnival", "update"]
|
|
114
|
-
}
|
|
115
|
-
"#)?;
|
|
116
|
-
|
|
117
|
-
let post: Post = deserialize(&ruby, post)?;
|
|
118
|
-
|
|
119
|
-
assert_eq!(
|
|
120
|
-
Post {
|
|
121
|
-
title: "Spring carnival planning update".into(),
|
|
122
|
-
content: "Here's what's new.".into(),
|
|
123
|
-
author: Author {
|
|
124
|
-
name: "Martha".into(),
|
|
125
|
-
email_address: "martha@example.com".into(),
|
|
126
|
-
},
|
|
127
|
-
tags: vec![
|
|
128
|
-
"carnival".into(),
|
|
129
|
-
"update".into()
|
|
130
|
-
]
|
|
131
|
-
},
|
|
132
|
-
post
|
|
133
|
-
);
|
|
134
|
-
```
|
|
135
|
-
|
|
136
|
-
[`serde_magnus::serialize`]: https://docs.rs/serde_magnus/latest/serde_magnus/fn.serialize.html
|
|
137
|
-
[`serde::Serialize`]: https://docs.rs/serde/latest/serde/trait.Serialize.html
|
|
138
|
-
[`serde_magnus::deserialize`]: https://docs.rs/serde_magnus/latest/serde_magnus/fn.deserialize.html
|
|
139
|
-
[`serde::Deserialize`]: https://docs.rs/serde/latest/serde/trait.Deserialize.html
|
|
140
|
-
|
|
141
|
-
## Requirements
|
|
142
|
-
|
|
143
|
-
The local crate shares the Rust and Ruby requirements of `wreq-ruby`.
|
|
144
|
-
|
|
145
|
-
## License
|
|
146
|
-
|
|
147
|
-
`serde_magnus` is released under the terms of the MIT License. See `LICENSE` for details.
|