Description: accept older major version of crate gethostname
Author: Jonas Smedegaard <dr@jones.dk>
Bug-Debian: https://bugs.debian.org/1116208
Forwarded: not-needed
Last-Update: 2025-09-24
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -46,7 +46,7 @@
 tokio-rustls = { version = "0.26", default-features = false }
 webpki-roots = { version = "1.0"}
 rustls-pki-types = { version = "1" }
-gethostname = { version = "1.0"}
+gethostname = { version = ">= 0.4.3, <= 1"}
 
 [dev-dependencies]
 tokio = { version = "1.16", features = ["net", "io-util", "time", "rt-multi-thread", "macros"] }
