Skip to content

Commit 3d91070

Browse files
committed
feat: v8.91.61
1 parent 30a437a commit 3d91070

File tree

2 files changed

+39
-39
lines changed

2 files changed

+39
-39
lines changed

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "http-request"
3-
version = "8.91.60"
3+
version = "8.91.61"
44
readme = "README.md"
55
edition = "2024"
66
authors = ["root@ltpp.vip"]
@@ -12,10 +12,10 @@ categories = ["network-programming", "web-programming"]
1212
exclude = ["target", "Cargo.lock", "sh", ".github"]
1313

1414
[dependencies]
15-
http-type = "5.24.1"
15+
http-type = "5.25.0"
1616
rustls = "0.23.35"
1717
serde = "1.0.228"
18-
serde_json = "1.0.146"
18+
serde_json = "1.0.148"
1919
webpki-roots = "1.0.4"
2020
tokio-rustls = "0.26.4"
2121
futures = "0.3.31"

src/cfg.rs

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -260,16 +260,16 @@ fn test_thread_https_get_request() {
260260
Mutex<
261261
Box<
262262
dyn RequestTrait<
263-
RequestResult = Result<
264-
Box<
265-
dyn ResponseTrait<
266-
OutputText = HttpResponseText,
267-
OutputBinary = HttpResponseBinary,
268-
>,
263+
RequestResult = Result<
264+
Box<
265+
dyn ResponseTrait<
266+
OutputText = HttpResponseText,
267+
OutputBinary = HttpResponseBinary,
268+
> + 'static,
269+
>,
270+
RequestError,
269271
>,
270-
RequestError,
271-
>,
272-
>,
272+
> + 'static,
273273
>,
274274
>,
275275
> = Arc::clone(&request_builder);
@@ -278,16 +278,16 @@ fn test_thread_https_get_request() {
278278
'_,
279279
Box<
280280
dyn RequestTrait<
281-
RequestResult = Result<
282-
Box<
283-
dyn ResponseTrait<
284-
OutputText = HttpResponseText,
285-
OutputBinary = HttpResponseBinary,
286-
>,
281+
RequestResult = Result<
282+
Box<
283+
dyn ResponseTrait<
284+
OutputText = HttpResponseText,
285+
OutputBinary = HttpResponseBinary,
286+
> + 'static,
287+
>,
288+
RequestError,
287289
>,
288-
RequestError,
289-
>,
290-
>,
290+
> + 'static,
291291
>,
292292
> = request_builder.lock().unwrap();
293293
let start_time: Instant = Instant::now();
@@ -331,16 +331,16 @@ fn test_thread_http_get_request() {
331331
Mutex<
332332
Box<
333333
dyn RequestTrait<
334-
RequestResult = Result<
335-
Box<
336-
dyn ResponseTrait<
337-
OutputText = HttpResponseText,
338-
OutputBinary = HttpResponseBinary,
339-
>,
334+
RequestResult = Result<
335+
Box<
336+
dyn ResponseTrait<
337+
OutputText = HttpResponseText,
338+
OutputBinary = HttpResponseBinary,
339+
> + 'static,
340+
>,
341+
RequestError,
340342
>,
341-
RequestError,
342-
>,
343-
>,
343+
> + 'static,
344344
>,
345345
>,
346346
> = Arc::clone(&request_builder);
@@ -349,16 +349,16 @@ fn test_thread_http_get_request() {
349349
'_,
350350
Box<
351351
dyn RequestTrait<
352-
RequestResult = Result<
353-
Box<
354-
dyn ResponseTrait<
355-
OutputText = HttpResponseText,
356-
OutputBinary = HttpResponseBinary,
357-
>,
352+
RequestResult = Result<
353+
Box<
354+
dyn ResponseTrait<
355+
OutputText = HttpResponseText,
356+
OutputBinary = HttpResponseBinary,
357+
> + 'static,
358+
>,
359+
RequestError,
358360
>,
359-
RequestError,
360-
>,
361-
>,
361+
> + 'static,
362362
>,
363363
> = request_builder.lock().unwrap();
364364
let start_time: Instant = Instant::now();

0 commit comments

Comments
 (0)