Cargo Features
[dependencies]
serde-attributes = { version = "0.2.1", default-features = false, features = ["std", "all-attrs", "attr-alias", "attr-rename", "attr-rename-all", "with-syn", "with-darling"] }
- default = all-attrs, std, with-syn
-
These default features are set whenever
serde-attributes
is added without
somewhere in the dependency tree.default-features = false - std default
-
Enables std of serde-rename-rule
attr-rename-all
- all-attrs default = attr-alias, attr-rename, attr-rename-all
- attr-alias all-attrs
-
Affects
serde-attributes::alias
… - attr-rename all-attrs attr-rename-all?
-
Affects
serde-attributes::rename
,serde-attributes::SERIALIZE
,serde-attributes::DESERIALIZE
… - attr-rename-all all-attrs = attr-rename, serde-rename-rule
-
Affects
serde-attributes::rename_all
,serde-attributes::SERIALIZE
,serde-attributes::DESERIALIZE
… - with-syn default with-darling? = syn
-
Affects
alias::syn
,rename::syn
,rename_all::syn
,serde-attributes::SERIALIZE
,serde-attributes::DESERIALIZE
… - with-darling = darling_core, with-syn
-
Affects
alias::darling
,rename::darling
,rename_all::darling
…
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.
- syn with-syn
-
Enables syn ^1
- darling_core with-darling?
-
Enables darling_core ^0.14
- serde-rename-rule attr-rename-all? std