mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-12 19:56:48 +00:00
chore: Disable hickory-dns feature from reqwest
As we now pass in our own resolver (and hickory instance) for every client, having the hickory-dns feature enabled isn't necessary.
This commit is contained in:
1 parent
144777dab0
commit
a9bb74df6d
3 files changed
-4
No files matched your search
Generated
-2
@@ -4873,7 +4873,6 @@ dependencies = [
|
||||
"h2",
|
||||
"h3",
|
||||
"h3-quinn",
|
||||
"hickory-resolver",
|
||||
"http",
|
||||
"http-body",
|
||||
"http-body-util",
|
||||
@@ -4882,7 +4881,6 @@ dependencies = [
|
||||
"hyper-util",
|
||||
"js-sys",
|
||||
"log",
|
||||
"once_cell",
|
||||
"percent-encoding",
|
||||
"pin-project-lite",
|
||||
"quinn",
|
||||
|
||||
@@ -161,7 +161,6 @@ default-features = false
|
||||
features = [
|
||||
"rustls-no-provider",
|
||||
"socks",
|
||||
"hickory-dns",
|
||||
"http2",
|
||||
"stream",
|
||||
"form",
|
||||
|
||||
@@ -250,7 +250,6 @@ pub(crate) fn base(
|
||||
resolver: Arc<dyn Resolve>,
|
||||
) -> Result<reqwest::ClientBuilder> {
|
||||
let mut builder = reqwest::Client::builder()
|
||||
.hickory_dns(true)
|
||||
.dns_resolver(resolver)
|
||||
.connect_timeout(Duration::from_secs(config.request_conn_timeout))
|
||||
.read_timeout(Duration::from_secs(config.request_timeout))
|
||||
|
||||
Reference in new issue
Block a user