File: 2001_gethostname.patch

package info (click to toggle)
rust-mail-send 0.5.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 372 kB
  • sloc: makefile: 2; sh: 1
file content (17 lines) | stat: -rw-r--r-- 603 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: accept older major version of crate gethostname
Author: Jonas Smedegaard <dr@jones.dk>
Forwarded: not-needed
Last-Update: 2025-09-14
---
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"] }