Commit 7614379
committed
Make reqwest use native-tls
The new 0.11.7 release of reqwest depends on rustls-0.20, which does not
work with our MSRV (1.48). We could downgrade our dependency on reqwest
to pin it to 0.11.6, or we could avoid rustls.
Given that the native tls dependency is ubiquitous, it seems easy enough
to side-step the problem this way. As a side benefit, we should get a
slightly faster build because we are not building rustls in the common
case.
The only problem is the cross-compilation of the Raspberry Pi build, but
we can side-step that by using rustls in that single case.
Confirmed that the web interface continues to work after this change.1 parent 681ae53 commit 7614379
2 files changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
66 | 69 | | |
67 | 70 | | |
68 | 71 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
0 commit comments