Cargo Features
[dependencies]
swc_ecma_parser = { version = "5.0.0", 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
somewhere in the dependency tree.default-features = false - 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