Cargo Features
[dependencies]
rocket-no-content = { version = "0.1.4", default-features = false, features = ["schema"] }
- default = schema
-
The
schema
feature is set by default wheneverrocket-no-content
is added without
somewhere in the dependency tree.default-features = false - schema default = okapi, rocket_okapi
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.
- okapi schema
- rocket_okapi schema
-
Enables rocket_okapi ^0.8.0