Cargo Features
[dependencies]
kanagawa = { version = "0.1.3", default-features = false, features = ["cookies", "h1-server", "logger", "sessions", "sse", "unstable", "docs"] }
- default = h1-server
-
The
h1-server
feature is set by default wheneverkanagawa
is added without
somewhere in the dependency tree.default-features = false -
Enables cookies of http-types
- h1-server default = async-h1
- logger
- sessions = async-session, cookies
-
Affects
kanagawa::sessions
… - sse = async-sse
-
Affects
kanagawa::sse
… - unstable docs?
- docs = unstable
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.