Cargo Features
[dependencies]
puzz = { version = "0.2.0", default-features = false, features = ["multipart", "server", "sse"] }
- default = server
-
The
server
feature is set by default wheneverpuzz
is added without
somewhere in the dependency tree.default-features = false - multipart = puzz-multipart
-
Affects
extract::multipart
… - server default = puzz-server
-
Affects
puzz::server
… - sse = puzz-sse
-
Affects
response::sse
…
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.