Cargo Features

[dependencies]
serde_codegen = { version = "0.9.0", default-features = false, features = ["unstable", "with-syn", "with-syntex", "unstable-testing"] }
default = with-syntex

The with-syntex feature is set by default whenever serde_codegen is added without default-features = false somewhere in the dependency tree.

unstable
with-syn

Affects serde_codegen::expand_derive_serialize, serde_codegen::expand_derive_deserialize

with-syntex default = syntex, syntex_syntax

Affects serde_codegen::expand_str, serde_codegen::expand

unstable-testing = clippy

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.

clippy unstable-testing?
syntex with-syntex

Enables syntex ^0.54.0

syntex_syntax with-syntex

Enables syntex_syntax ^0.54.0