Cargo Features
[dependencies]
swc_node_bundler = { version = "6.0.0", default-features = false, features = ["serde-impl", "swc_v1", "swc_v2"] }
- default = swc_v1
-
The
swc_v1
feature is set by default wheneverswc_node_bundler
is added without
somewhere in the dependency tree.default-features = false - serde-impl swc_v1 swc_v2? = serde
- swc_v1 default = serde-impl
-
Affects
swc_node_bundler::v1
… - swc_v2 = serde-impl
-
Affects
swc_node_bundler::v2
…
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.