Add "serve_dir" feature as a reaquired feature for the example of the same name
This commit is contained in:
parent
3a999a16fe
commit
65f3bbf2a2
|
@ -30,3 +30,7 @@ mime_guess = { version = "2.0.3", optional = true }
|
||||||
env_logger = "0.8.1"
|
env_logger = "0.8.1"
|
||||||
futures-util = "0.3.7"
|
futures-util = "0.3.7"
|
||||||
tokio = { version = "0.3.1", features = ["macros", "rt-multi-thread", "sync"] }
|
tokio = { version = "0.3.1", features = ["macros", "rt-multi-thread", "sync"] }
|
||||||
|
|
||||||
|
[[example]]
|
||||||
|
name = "serve_dir"
|
||||||
|
required-features = ["serve_dir"]
|
||||||
|
|
Loading…
Reference in New Issue