Commit bd5da5a
feat: make Rustls the default TLS provider. (#2752)
* feat: Make Rustls the default TLS provider.
This switches the default TLS provider to Rustls. It keeps the `native-tls` feature with the same configuration it had before as the default TLS provider.
* fix: Fix TlsBackend default options.
* fix: Remove hyper-tls from the default-tls feature.
It's not used by Rustls.
* fix: Update precise dependencies to run MSRV.
* fix: Make explicit the dependency version for aws-lc-sys.
This allows Reqwest to build on nightly with a version of aws-lc-sys that works and still maintains MSRV.
* fix: Use aws-lc-rs as provider when both ring and aws-lc-rs are enabled.
This should be a corner case since only one feature should be enable at a time, but some checks enable all features. Favor aws-lc-rs when all features are enabled.
* fix: Fix feature config formatting.
* fix: Reverse precise dep ordering.
This ensures that the MSRV for all dependencies are met.
* fix: Pin hyper-rustls precise version.
* fix: Build `default_rustls_crypto_provider` only when rustls is enabled.
* fix: Make rustls-tls feature work without default-tls.
* fix: Remove unused dependency.
Update the MSRV check to use precise dependency versions.
* fix: Install Crypto Provider to run the HTTP3 tests.
Since both Ring and AWS-LC-RS are supported, we need to explicitly install the correct Crypto Provider before configuring the server.
* fix: Update nightly run with the precise version of aws-lc-sys.
* fix: Use prebuilt NASM compiled code on Windows.
See: https://github.com/aws/aws-lc-rs/blob/f0a6350abb247b413ffbf8ae8d8e1eb3bb1d4e66/aws-lc-sys/README.md?plain=1#L37
* fix: Update the precise version of aws-lc-rs for nightly builds.
* fix: Update all Windows targets to use prebuilt nasm binaries.
* fix: Set LIBCLANG_PATH for windows builds.
* fix: Install clang and nasm on Windows i686.
* fix: Run macman.exe after adding it to the path.
* fix: Add clang and nasm for Windows x86_64 GNU.1 parent 74e6f84 commit bd5da5a
File tree
6 files changed
+152
-80
lines changed- .github/workflows
- src
- async_impl
- tests/support
6 files changed
+152
-80
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
59 | 62 | | |
60 | 63 | | |
61 | 64 | | |
| |||
103 | 106 | | |
104 | 107 | | |
105 | 108 | | |
| 109 | + | |
106 | 110 | | |
107 | 111 | | |
108 | 112 | | |
109 | 113 | | |
| 114 | + | |
110 | 115 | | |
111 | 116 | | |
112 | 117 | | |
113 | 118 | | |
114 | 119 | | |
115 | 120 | | |
116 | 121 | | |
| 122 | + | |
117 | 123 | | |
118 | 124 | | |
119 | 125 | | |
120 | 126 | | |
121 | 127 | | |
122 | 128 | | |
123 | 129 | | |
| 130 | + | |
124 | 131 | | |
125 | 132 | | |
126 | 133 | | |
| |||
182 | 189 | | |
183 | 190 | | |
184 | 191 | | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
185 | 212 | | |
186 | 213 | | |
187 | 214 | | |
| |||
219 | 246 | | |
220 | 247 | | |
221 | 248 | | |
222 | | - | |
| 249 | + | |
223 | 250 | | |
224 | 251 | | |
225 | 252 | | |
| |||
284 | 311 | | |
285 | 312 | | |
286 | 313 | | |
| 314 | + | |
| 315 | + | |
287 | 316 | | |
288 | 317 | | |
289 | 318 | | |
| |||
314 | 343 | | |
315 | 344 | | |
316 | 345 | | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
317 | 363 | | |
318 | 364 | | |
319 | 365 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
40 | | - | |
41 | | - | |
| 39 | + | |
42 | 40 | | |
43 | 41 | | |
44 | 42 | | |
45 | | - | |
46 | | - | |
| 43 | + | |
47 | 44 | | |
48 | 45 | | |
49 | 46 | | |
| |||
54 | 51 | | |
55 | 52 | | |
56 | 53 | | |
57 | | - | |
58 | | - | |
59 | | - | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
60 | 57 | | |
61 | 58 | | |
62 | 59 | | |
| |||
104 | 101 | | |
105 | 102 | | |
106 | 103 | | |
| 104 | + | |
107 | 105 | | |
108 | 106 | | |
109 | 107 | | |
| |||
142 | 140 | | |
143 | 141 | | |
144 | 142 | | |
145 | | - | |
| 143 | + | |
146 | 144 | | |
147 | 145 | | |
148 | 146 | | |
149 | 147 | | |
150 | | - | |
| 148 | + | |
151 | 149 | | |
152 | 150 | | |
153 | 151 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| |||
487 | 487 | | |
488 | 488 | | |
489 | 489 | | |
490 | | - | |
491 | | - | |
| 490 | + | |
| 491 | + | |
492 | 492 | | |
493 | 493 | | |
494 | 494 | | |
| |||
554 | 554 | | |
555 | 555 | | |
556 | 556 | | |
557 | | - | |
| 557 | + | |
558 | 558 | | |
559 | 559 | | |
560 | 560 | | |
| |||
578 | 578 | | |
579 | 579 | | |
580 | 580 | | |
581 | | - | |
| 581 | + | |
582 | 582 | | |
583 | 583 | | |
584 | 584 | | |
| |||
725 | 725 | | |
726 | 726 | | |
727 | 727 | | |
728 | | - | |
729 | | - | |
730 | | - | |
731 | | - | |
732 | | - | |
733 | | - | |
734 | | - | |
| 728 | + | |
735 | 729 | | |
736 | 730 | | |
737 | 731 | | |
| |||
2014 | 2008 | | |
2015 | 2009 | | |
2016 | 2010 | | |
2017 | | - | |
| 2011 | + | |
2018 | 2012 | | |
2019 | 2013 | | |
2020 | 2014 | | |
| |||
2367 | 2361 | | |
2368 | 2362 | | |
2369 | 2363 | | |
| 2364 | + | |
| 2365 | + | |
| 2366 | + | |
| 2367 | + | |
| 2368 | + | |
| 2369 | + | |
| 2370 | + | |
| 2371 | + | |
| 2372 | + | |
| 2373 | + | |
| 2374 | + | |
| 2375 | + | |
2370 | 2376 | | |
2371 | 2377 | | |
2372 | 2378 | | |
| |||
0 commit comments