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 wheneverserde_codegen
is added without
somewhere in the dependency tree.default-features = false - 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.