Commit cb6f9c6
rust: use native-tls for the build-time CLI download
build.rs downloads the Copilot CLI with ureq, which was on the rustls
(tls) feature and pulled rustls, ring and webpki-roots into the build.
Switch ureq to native-tls and build the connector in build.rs so the build
no longer compiles rustls/ring (schannel on Windows, Security.framework on
macOS, OpenSSL on Linux).
ring is still in Cargo.lock: reqwest declares hyper-rustls as an optional
dependency and cargo keeps optional deps locked even when they are off, so
cargo tree -i ring is empty but the lock entry stays. This drops ring from
the build graph, not from the lockfile.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 991f7ab commit cb6f9c6
3 files changed
Lines changed: 9 additions & 24 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
| 96 | + | |
| 97 | + | |
97 | 98 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
596 | 596 | | |
597 | 597 | | |
598 | 598 | | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
599 | 603 | | |
| 604 | + | |
600 | 605 | | |
601 | 606 | | |
602 | 607 | | |
| |||
0 commit comments