mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-07-13 15:55:05 +00:00
Update Rust and crates (#4445)
- Updated Rust to v1.77.0 - Updated several crates The `reqwest` update included `trust-dns` > `hickory-dns` changes. Also, `reqwest` v0.12 is not working correctly for us, that is something to investigate. - Fixed a new clippy warning
This commit is contained in:
parent
1e42755187
commit
93636eb3c3
10 changed files with 111 additions and 111 deletions
|
@ -54,7 +54,7 @@ static CLIENT: Lazy<Client> = Lazy::new(|| {
|
|||
.timeout(icon_download_timeout)
|
||||
.pool_max_idle_per_host(5) // Configure the Hyper Pool to only have max 5 idle connections
|
||||
.pool_idle_timeout(pool_idle_timeout) // Configure the Hyper Pool to timeout after 10 seconds
|
||||
.trust_dns(true)
|
||||
.hickory_dns(true)
|
||||
.default_headers(default_headers.clone());
|
||||
|
||||
match client.build() {
|
||||
|
@ -66,7 +66,7 @@ static CLIENT: Lazy<Client> = Lazy::new(|| {
|
|||
.timeout(icon_download_timeout)
|
||||
.pool_max_idle_per_host(5) // Configure the Hyper Pool to only have max 5 idle connections
|
||||
.pool_idle_timeout(pool_idle_timeout) // Configure the Hyper Pool to timeout after 10 seconds
|
||||
.trust_dns(false)
|
||||
.hickory_dns(false)
|
||||
.default_headers(default_headers)
|
||||
.build()
|
||||
.expect("Failed to build client")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue