Cargo Features
[dependencies]
hypers = { version = "0.14.1", default-features = false, features = ["full", "macro", "http1", "http2", "openapi", "cbor", "msgpack", "yaml", "toml", "xml", "multipart", "cookie", "static_file", "static_embed", "websocket", "rustls", "native_tls", "debug", "session", "compression", "test"] }
- default = http1, macro
-
These default features are set whenever
hypers
is added without
somewhere in the dependency tree.default-features = false - full
-
Enables full of hypers_core
- macro default
-
Enables macro of hypers_core
- http1 default
-
Enables http1 of hypers_core
- http2
-
Enables http2 of hypers_core
- openapi = hypers_openapi
- cbor
-
Enables cbor of hypers_core
- msgpack
-
Enables msgpack of hypers_core
- yaml
-
Enables yaml of hypers_core
- toml
-
Enables toml of hypers_core
- xml
-
Enables xml of hypers_core
- multipart
-
Enables multipart of hypers_core
-
Enables cookie of hypers_core
- static_file
-
Enables static_file of hypers_core
- static_embed
-
Enables static_embed of hypers_core
- websocket
-
Enables websocket of hypers_core
- rustls
-
Enables rustls of hypers_core
- native_tls
-
Enables native_tls of hypers_core
- debug
-
Enables debug of hypers_core and hypers_openapi
- session = hypers_session
- compression = hypers_compression
- test
-
Enables test of hypers_core
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.