From: Ian Jackson Date: Sun, 8 Aug 2021 10:41:02 +0000 (+0100) Subject: server: wip, mime type X-Git-Tag: hippotat/1.0.0~225 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=0d814a7ef4345ae488ef8b61676fede4a867d7c3;p=hippotat.git server: wip, mime type Signed-off-by: Ian Jackson --- diff --git a/Cargo.lock b/Cargo.lock index 792e1e7..0c05f7d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -427,6 +427,7 @@ dependencies = [ "itertools", "lazy-regex", "log", + "mime", "parking_lot", "regex", "sha2", @@ -628,6 +629,12 @@ version = "2.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b16bd47d9e329435e309c58469fe0791c2d0d1ba96ec0954152a5ae2b04387dc" +[[package]] +name = "mime" +version = "0.3.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2a60c7ce501c71e03a9c9c0d35b861413ae925bd979cc7a4e30d060069aaac8d" + [[package]] name = "miniz_oxide" version = "0.4.4" diff --git a/Cargo.toml b/Cargo.toml index f382f24..1b1a3df 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -35,6 +35,7 @@ hyper = { version = "0.14", features = ["full"] } hyper-tls = "0.5" ipnet = "2" itertools = "0.10" +mime = "0.3" parking_lot = "0.11" regex = "1.5" log = "0.4"