aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2023-02-24 13:23:58 +0100
committermetamuffin <metamuffin@disroot.org>2023-02-24 13:23:58 +0100
commit3ed98e04da0917e790063549676729c7051d67f7 (patch)
tree81fbb2c93172a7cbb284aaeed8c98d3f6a7c26b5 /Cargo.toml
parentc0d504f9ae77f99e5484e92e2e9d3f68561129c5 (diff)
downloadgnix-3ed98e04da0917e790063549676729c7051d67f7.tar
gnix-3ed98e04da0917e790063549676729c7051d67f7.tar.bz2
gnix-3ed98e04da0917e790063549676729c7051d67f7.tar.zst
static file serving + bugs
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml27
1 files changed, 21 insertions, 6 deletions
diff --git a/Cargo.toml b/Cargo.toml
index f3bfafb..c900bd7 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -4,20 +4,35 @@ version = "0.1.0"
edition = "2021"
[dependencies]
+
+# HTTP
hyper = { version = "1.0.0-rc.2", features = ["full"] }
-tokio = { version = "1.25.0", features = ["full"] }
http-body-util = "0.1.0-rc.2"
+# TLS
rustls-pemfile = "1.0.2"
rustls = "0.20.8"
tokio-rustls = "0.23.4"
-bytes = "1.4.0"
-anyhow = "1.0.69"
-thiserror = "1.0.38"
+# Async stuff
+tokio = { version = "1.25.0", features = ["full"] }
+tokio-util = { version = "0.7.7", features = ["io"] }
+futures-util = "0.3.26"
+
+# Config
+serde = { version = "1.0.152", features = ["derive"] }
+toml = "0.7.2"
+# Logging
env_logger = "0.10.0"
log = "0.4.17"
-serde = { version = "1.0.152", features = ["derive"] }
-toml = "0.7.2"
+# Fileserver related
+markup = "0.13.1"
+humansize = "2.1.3"
+mime_guess = "2.0.4"
+
+
+bytes = "1.4.0"
+anyhow = "1.0.69"
+thiserror = "1.0.38"