mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-06-07 19:26:36 +00:00
fix: use custom DNS resolver (#1364)
* add DefaultResolver * style: fmt * chore: remove unused feature Co-authored-by: Jiahao XU <Jiahao_XU@outlook.com> * chore: remove unused `ipconfig/computer` feature Co-authored-by: Jiahao XU <Jiahao_XU@outlook.com> * chore: update `trust-dns-resolver` * refactor: apply requested changes * chore: revert `trust-dns-resolver` upgrade I mistakenly thought `reqwest` already updated to the newest version, but it hasn't! (no release was made yet) * refactor: cleanup --------- Co-authored-by: GNQG <my.t.gnq+dev@gmail.com> Co-authored-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
04c5c00669
commit
6560225c03
5 changed files with 196 additions and 2 deletions
|
@ -12,4 +12,7 @@ pub mod gh_api_client;
|
|||
|
||||
pub mod remote;
|
||||
|
||||
#[cfg(feature = "trust-dns")]
|
||||
mod resolver;
|
||||
|
||||
mod utils;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue