mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-15 13:16:56 +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",
|
"h2",
|
||||||
"h3",
|
"h3",
|
||||||
"h3-quinn",
|
"h3-quinn",
|
||||||
"hickory-resolver",
|
|
||||||
"http",
|
"http",
|
||||||
"http-body",
|
"http-body",
|
||||||
"http-body-util",
|
"http-body-util",
|
||||||
@@ -4882,7 +4881,6 @@ dependencies = [
|
|||||||
"hyper-util",
|
"hyper-util",
|
||||||
"js-sys",
|
"js-sys",
|
||||||
"log",
|
"log",
|
||||||
"once_cell",
|
|
||||||
"percent-encoding",
|
"percent-encoding",
|
||||||
"pin-project-lite",
|
"pin-project-lite",
|
||||||
"quinn",
|
"quinn",
|
||||||
|
|||||||
@@ -161,7 +161,6 @@ default-features = false
|
|||||||
features = [
|
features = [
|
||||||
"rustls-no-provider",
|
"rustls-no-provider",
|
||||||
"socks",
|
"socks",
|
||||||
"hickory-dns",
|
|
||||||
"http2",
|
"http2",
|
||||||
"stream",
|
"stream",
|
||||||
"form",
|
"form",
|
||||||
|
|||||||
@@ -250,7 +250,6 @@ pub(crate) fn base(
|
|||||||
resolver: Arc<dyn Resolve>,
|
resolver: Arc<dyn Resolve>,
|
||||||
) -> Result<reqwest::ClientBuilder> {
|
) -> Result<reqwest::ClientBuilder> {
|
||||||
let mut builder = reqwest::Client::builder()
|
let mut builder = reqwest::Client::builder()
|
||||||
.hickory_dns(true)
|
|
||||||
.dns_resolver(resolver)
|
.dns_resolver(resolver)
|
||||||
.connect_timeout(Duration::from_secs(config.request_conn_timeout))
|
.connect_timeout(Duration::from_secs(config.request_conn_timeout))
|
||||||
.read_timeout(Duration::from_secs(config.request_timeout))
|
.read_timeout(Duration::from_secs(config.request_timeout))
|
||||||
|
|||||||
Reference in new issue
Block a user