File tree Expand file tree Collapse file tree 4 files changed +19
-19
lines changed Expand file tree Collapse file tree 4 files changed +19
-19
lines changed Original file line number Diff line number Diff line change 1
1
[package ]
2
2
name = " hyperlane"
3
- version = " 2.28 .0"
3
+ version = " 2.29 .0"
4
4
edition = " 2021"
5
5
authors = [" ltpp-universe <root@ltpp.vip>" ]
6
6
license = " MIT"
@@ -17,9 +17,9 @@ exclude = [
17
17
18
18
[dependencies ]
19
19
color-output = " 6.1.4"
20
- http-request = " 8.23 .0"
21
- http-type = " 2.15 .0"
22
- hyperlane-log = " 0.12 .0"
20
+ http-request = " 8.25 .0"
21
+ http-type = " 2.20 .0"
22
+ hyperlane-log = " 0.15 .0"
23
23
hyperlane-time = " 0.0.1"
24
24
lombok-macros = " 1.5.0"
25
25
std-macro-extensions = " 0.17.6"
Original file line number Diff line number Diff line change @@ -71,10 +71,10 @@ fn send_request() -> Vec<u8> {
71
71
. buffer (4096 )
72
72
. max_redirect_times (8 )
73
73
. http1_1_only ()
74
- . builder ();
74
+ . build ();
75
75
_request_builder
76
76
. send ()
77
- . and_then (| response | Ok (response . binary (). body ))
77
+ . and_then (| response | Ok (response . binary (). get_body () ))
78
78
. unwrap_or_default ()
79
79
}
80
80
Original file line number Diff line number Diff line change @@ -49,10 +49,10 @@ fn test_server_basic_usage() {
49
49
. buffer ( 4096 )
50
50
. max_redirect_times ( 8 )
51
51
. http1_1_only ( )
52
- . builder ( ) ;
52
+ . build ( ) ;
53
53
_request_builder
54
54
. send ( )
55
- . and_then ( |response| Ok ( response. binary ( ) . body ) )
55
+ . and_then ( |response| Ok ( response. binary ( ) . get_body ( ) ) )
56
56
. unwrap_or_default ( )
57
57
}
58
58
You can’t perform that action at this time.
0 commit comments