chiark / gitweb /
server: wip, mime type
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 8 Aug 2021 10:41:02 +0000 (11:41 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 8 Aug 2021 10:41:02 +0000 (11:41 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Cargo.lock
Cargo.toml

index 792e1e75f6bb476765cb21f8279ce1a3df4edae9..0c05f7d8d8d3d46e25c1e3b3caf2424dd9f9b269 100644 (file)
@@ -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"
index f382f24139372ece467244093fdd86ac5392225a..1b1a3dff023b26badd24e9106a80aaa694b3a57c 100644 (file)
@@ -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"