Cargo Features
[dependencies]
tide = { version = "0.17.0-beta.1", default-features = false, features = ["cookies", "h1-server", "logger", "sessions", "unstable", "docs"] }
- default = cookies, h1-server, logger, sessions
-
These default features are set whenever
tide
is added without
somewhere in the dependency tree.default-features = false -
Enables cookies of http-types
- h1-server default = async-h1
- logger default = femme
-
Affects
log::start
,log::with_level
… - sessions default = async-session, cookies
-
Affects
tide::sessions
… - 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.