Cargo Features

[dependencies]
serde_string_enum = { version = "0.2.1", default-features = false, features = ["std", "alloc", "unicase"] }
default = std, unicase

These default features are set whenever serde_string_enum is added without default-features = false somewhere in the dependency tree.

std default

Depend on the entire Rust standard library.

alloc

Provide integration for heap-allocated collections without depending on the rest of the Rust standard library.

Enables alloc of serde

unicase default

Use the unicase crate to provide Unicode-insensitive matching.

Enables unicase