Cargo Features
[dependencies]
http-file = { version = "0.1.0", default-features = false, features = ["tokio", "tokio-uring"] }
- default = tokio
-
The
tokio
feature is set by default wheneverhttp-file
is added without
somewhere in the dependency tree.default-features = false - tokio default
-
tokio runtime as async file system
Enables fs and io-util of tokio
Affects
http-file::ServeDir
… - tokio-uring
-
tokio-uring as async file system. (can be used together with tokio feature)
Enables tokio and tokio-uring