aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
authorFuwn <[email protected]>2022-03-31 03:02:09 +0000
committerFuwn <[email protected]>2022-03-31 03:02:09 +0000
commit00f1d10de4f6597f22fec086c34265b322dd9ef3 (patch)
treeed12a2f9c6dec57193ea38124ce00b3cf36459b0 /Cargo.toml
parentfix(router): use different certificate file (diff)
downloadwindmark-00f1d10de4f6597f22fec086c34265b322dd9ef3.tar.xz
windmark-00f1d10de4f6597f22fec086c34265b322dd9ef3.zip
feat(features): auto-deduce-mime
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml3
1 files changed, 2 insertions, 1 deletions
diff --git a/Cargo.toml b/Cargo.toml
index ba7a8a0..893dadf 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -16,6 +16,7 @@ categories = ["web-programming"]
[features]
logger = ["pretty_env_logger"]
+auto-deduce-mime = ["tree_magic"]
[dependencies]
# TCP
@@ -35,4 +36,4 @@ regex = "1.5.5"
matchit = "0.5.0"
# MIME
-tree_magic = "0.2.3"
+tree_magic = { version = "0.2.3", optional = true }