Cargo Features
[dependencies]
spring-web = { version = "0.3.0", default-features = false, features = ["http2", "multipart", "ws"] }
- default = http2
-
The
http2
feature is set by default wheneverspring-web
is added without
somewhere in the dependency tree.default-features = false - http2 default
- multipart
- ws
spring-web has 4 features without comments.