Cargo Features

[dependencies]
rocket_cors = { version = "0.6.0", default-features = false, features = ["serialization"] }
default = serialization

The serialization feature is set by default whenever rocket_cors is added without default-features = false somewhere in the dependency tree.

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