Add "serve_dir" feature as a reaquired feature for the example of the same name

This commit is contained in:
Emi Tatsuo 2020-11-24 16:50:28 -05:00
parent 3a999a16fe
commit 65f3bbf2a2
Signed by: Emi
GPG Key ID: 68FAB2E2E6DFC98B
1 changed files with 4 additions and 0 deletions

View File

@ -30,3 +30,7 @@ mime_guess = { version = "2.0.3", optional = true }
env_logger = "0.8.1"
futures-util = "0.3.7"
tokio = { version = "0.3.1", features = ["macros", "rt-multi-thread", "sync"] }
[[example]]
name = "serve_dir"
required-features = ["serve_dir"]