Cargo Features

[dependencies]
swc_ecma_parser = { version = "6.0.1", default-features = false, features = ["debug", "tracing-spans", "typescript", "verify", "stacker"] }
debug = tracing-spans

Used for debugging

default = stacker, typescript

These default features are set whenever swc_ecma_parser is added without default-features = false somewhere in the dependency tree.

tracing-spans debug?
typescript default
verify = swc_ecma_visit

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.

swc_ecma_visit verify?
stacker not wasm32 arm default