Bug fix: If text file wasn't utf8 it would fail and not send any

response to clients.
This commit is contained in:
int 80h
2021-12-12 14:56:52 -05:00
parent f23fa8668b
commit 6d11676da4
7 changed files with 93 additions and 99 deletions

View File

@@ -14,22 +14,22 @@ license = "MIT"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
tokio = { version = "1.14", features = [ "full" ] }
tokio = { version = "1.15", features = [ "full" ] }
rustls-pemfile = "0.2.1"
futures-util = "0.3.18"
futures-util = "0.3.19"
toml = "0.5.8"
serde = "1.0.130"
serde_derive = "1.0.130"
serde = "1.0.132"
serde_derive = "1.0.132"
url = "2.2.2"
new_mime_guess = "3.0.2"
mime = "0.3.16"
log = "0.4.14"
simple_logger = "1.15"
simple_logger = "1.16"
sha2 = "0.9.8"
x509-parser = "0.12"
[dependencies.tokio-rustls]
version = "0.23.1"
version = "0.23.2"
optional = false
features = ["dangerous_configuration"]