Description: update tiny_http requirement from 0.9 to 0.12
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Author: Stephen M. Coakley <me@stephencoakley.com>
Source: upstream, https://github.com/sagebind/isahc/commit/d2f9367
Bug: https://github.com/sagebind/isahc/issues/414
Last-Update: 2023-02-08
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -95,7 +95,7 @@
 structopt = "0.3"
 tempfile = "3.1"
 test-case = "2.0"
-tracing-subscriber = ">=0.2.12, <0.4.0"
+tracing-subscriber = ">=0.3.8, <0.4.0"
 serde_json = "1"
 
 [dev-dependencies.testserver]
--- a/testserver/Cargo.toml
+++ b/testserver/Cargo.toml
@@ -10,4 +10,4 @@
 once_cell = "1"
 regex = "1.3"
 threadfin = "0.1.1"
-tiny_http = "0.9"
+tiny_http = "0.12"
--- a/testserver/src/mock.rs
+++ b/testserver/src/mock.rs
@@ -54,7 +54,7 @@
 
     /// Get the socket address of this mock server.
     pub fn addr(&self) -> SocketAddr {
-        self.0.server.server_addr()
+        self.0.server.server_addr().to_ip().unwrap()
     }
 
     /// Get the HTTP URL of this mock server.
