Cargo Features
[dependencies]
swc_html_visit = { version = "5.0.0", default-features = false, features = ["path", "serde-impl"] }
- default = serde
-
The
serde
feature is set by default wheneverswc_html_visit
is added without
somewhere in the dependency tree.default-features = false - path
-
Affects
generated::VisitAstPath
,generated::VisitWithAstPath
,generated::VisitMutAstPath
,generated::VisitMutWithAstPath
,generated::FoldAstPath
,generated::FoldWithAstPath
,generated::AstKindPath
,generated::AstNodePath
,generated::fields
… - serde-impl = serde
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.
- serde default serde-impl?