Skip to content

Commit

Permalink
feat: Add reqwest 0.12 support (#9)
Browse files Browse the repository at this point in the history
* feat: Add reqwest 0.12 support

Signed-off-by: Xuanwo <github@xuanwo.io>

* Format code

Signed-off-by: Xuanwo <github@xuanwo.io>

---------

Signed-off-by: Xuanwo <github@xuanwo.io>
  • Loading branch information
Xuanwo committed May 8, 2024
1 parent ef93fab commit acd1229
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions Cargo.toml
Expand Up @@ -10,7 +10,6 @@ name = "reqwest-hickory-resolver"
version = "0.0.2"

[dependencies]
hickory-resolver = "0.24.0"
reqwest = { version = "0.11", default-features = false }
hyper = {version = "0.14", default-features = false, features = ["client", "tcp"] }
hickory-resolver = "0.24"
reqwest = { version = "0.12", default-features = false }
once_cell = "1.19.0"
2 changes: 1 addition & 1 deletion src/lib.rs
Expand Up @@ -47,9 +47,9 @@ use std::sync::Arc;
use hickory_resolver::lookup_ip::LookupIpIntoIter;
use hickory_resolver::system_conf;
use hickory_resolver::TokioAsyncResolver;
use hyper::client::connect::dns::Name;
use once_cell::sync::OnceCell;
use reqwest::dns::Addrs;
use reqwest::dns::Name;
use reqwest::dns::Resolve;
use reqwest::dns::Resolving;

Expand Down

0 comments on commit acd1229

Please sign in to comment.