Cargo Features
[dependencies]
aitch = { version = "0.1.1", default-features = false, features = ["json", "server-hyper", "server-tiny-http", "mime_guess"] }
- default = json, mime_guess, server-hyper, server-tiny-http
-
These default features are set whenever
aitch
is added without
somewhere in the dependency tree.default-features = false - json default = serde, serde_json
- server-hyper default = hyper
-
Affects
servers::hyper
… - server-tiny-http default = tiny_http, tokio-threadpool
-
Affects
servers::tiny_http
…
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- hyper server-hyper
-
Enables hyper ^0.12
- mime_guess default
-
Enables mime_guess ^1.8.5
- tiny_http server-tiny-http
-
Enables tiny_http ^0.6.0
- tokio-threadpool server-tiny-http
- serde json
- serde_json json