Cargo Features
ts-rs-macros-serde-json has no features set by default.
[dependencies]
ts-rs-macros-serde-json = { version = "7.0.1", features = ["serde-compat"] }
- serde-compat = termcolor
-
Affects
enum::SerdeEnumAttr
,field::SerdeFieldAttr
,struct::SerdeStructAttr
,variant::SerdeVariantAttr
,utils::parse_serde_attrs
…
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.