File tree 4 files changed +10
-17
lines changed
4 files changed +10
-17
lines changed Original file line number Diff line number Diff line change @@ -26,8 +26,8 @@ ryu = "1.0"
26
26
itoa = " 1.0"
27
27
28
28
# Strum is a set of macros and traits for working with enums and strings easier in Rust.
29
- strum = " 0.26 "
30
- strum_macros = " 0.26 "
29
+ strum = " 0.27 "
30
+ strum_macros = " 0.27 "
31
31
32
32
# This is a dependency that already exists in url
33
33
percent-encoding = " 2.1"
@@ -160,13 +160,13 @@ disable-client-setinfo = []
160
160
tls = [" tls-native-tls" ] # use "tls-native-tls" instead
161
161
162
162
[dev-dependencies ]
163
- rand = " 0.8 "
163
+ rand = " 0.9 "
164
164
socket2 = " 0.5"
165
165
assert_approx_eq = " 1.0"
166
166
fnv = " 1.0.5"
167
167
futures = " 0.3"
168
168
futures-time = " 3"
169
- criterion = " 0.4 "
169
+ criterion = " 0.5 "
170
170
partial-io = { version = " 0.5" , features = [" tokio" , " quickcheck1" ] }
171
171
quickcheck = " 1.0.3"
172
172
tokio = { version = " 1" , features = [
@@ -175,11 +175,11 @@ tokio = { version = "1", features = [
175
175
" rt-multi-thread" ,
176
176
" time" ,
177
177
] }
178
- tempfile = " =3.6.0 "
178
+ tempfile = " 3.17 "
179
179
once_cell = " 1"
180
180
anyhow = " 1"
181
181
sscanf = " 0.4.1"
182
- serial_test = " ^2 "
182
+ serial_test = " ^3 "
183
183
versions = " 6.3"
184
184
which = " 7.0.1"
185
185
Original file line number Diff line number Diff line change @@ -908,18 +908,11 @@ pub(crate) fn create_rustls_config(
908
908
native_certs
909
909
. certs
910
910
. iter ( )
911
- . map ( |der| root_store. add ( der. to_owned ( ) ) )
912
- . collect :: < Result < ( ) , _ > > ( ) ?;
911
+ . try_for_each ( |der| root_store. add ( der. to_owned ( ) ) ) ?;
913
912
} else {
914
913
fail ! ( (
915
914
ErrorKind :: InvalidClientConfig ,
916
- "Unable to load native certificates" ,
917
- native_certs
918
- . errors
919
- . iter( )
920
- . map( |e| e. to_string( ) )
921
- . collect:: <Vec <_>>( )
922
- . join( "\n " )
915
+ "Unable to load native certificates"
923
916
) ) ;
924
917
}
925
918
Original file line number Diff line number Diff line change 1
1
use_try_shorthand = true
2
- edition = " 2018 "
2
+ edition = " 2024 "
Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ impl GlidePaths {
85
85
86
86
/// Replace the glide_file with a new path.
87
87
pub fn set_glide_file_string ( & mut self , glide_file : & str ) {
88
- self . glide_file = string_to_pathbuf ( & glide_file) ;
88
+ self . glide_file = string_to_pathbuf ( glide_file) ;
89
89
}
90
90
}
91
91
You can’t perform that action at this time.
0 commit comments