Cargo Features
[dependencies]
rocket_cors = { version = "0.6.0", default-features = false, features = ["serialization"] }
- default = serialization
-
The
serialization
feature is set by default wheneverrocket_cors
is added without
somewhere in the dependency tree.default-features = false - serialization default = serde, serde_derive, unicase_serde
-
Serialization and deserialization support for settings
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.
- serde serialization
-
Enables serde
Optional dependencies that are activated by the various features
- serde_derive serialization
- unicase_serde serialization