Cargo Features

deno_ast has no features set by default.

[dependencies]
deno_ast = { version = "0.52.0", features = ["bundler", "concurrent", "cjs", "codegen", "compat", "proposal", "react", "scopes", "sourcemap", "transforms", "emit", "type_strip", "transpiling", "typescript", "utils", "view", "visit"] }
bundler = swc_bundler, swc_ecma_transforms_optimization, swc_graph_analyzer
concurrent

Enables concurrent of swc_common =17.0.1

cjs = utils, visit
codegen emit? = swc_ecma_codegen, swc_ecma_codegen_macros, swc_macros_common
compat = swc_config, swc_config_macro, swc_ecma_transforms_compat, swc_trace_macro, transforms
proposal transpiling? = swc_ecma_transforms_classes, swc_ecma_transforms_macros, swc_ecma_transforms_proposal, swc_macros_common, transforms
react transpiling? = swc_config, swc_config_macro, swc_ecma_transforms_macros, swc_ecma_transforms_react, swc_macros_common, transforms
scopes = utils, view, visit
sourcemap emit? = swc_sourcemap

Enables sourcemap of dprint-swc-ext

transforms compat? proposal? react? transpiling? typescript? = swc_ecma_loader, swc_ecma_transforms_base

Affects deno_ast::swc.transforms

emit transpiling? = base64, codegen, sourcemap
type_strip = swc_ts_fast_strip
transpiling = emit, proposal, react, transforms, typescript, utils, visit
typescript transpiling? = swc_ecma_transforms_typescript, transforms
utils cjs? scopes? transpiling? = swc_ecma_utils
view scopes?

Enables view of dprint-swc-ext

visit cjs? scopes? transpiling? = swc_ecma_visit, swc_macros_common, swc_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.

base64 emit?
swc_config compat? react?
swc_config_macro compat? react?
swc_ecma_codegen codegen?

Enables swc_ecma_codegen =20.0.2

swc_ecma_codegen_macros codegen?
swc_ecma_loader transforms?

Enables swc_ecma_loader =17.0.0

swc_ecma_transforms_base transforms?

Enables swc_ecma_transforms_base =30.0.1

swc_ecma_transforms_classes proposal?

Enables swc_ecma_transforms_classes =30.0.0

swc_ecma_transforms_compat compat?

Enables swc_ecma_transforms_compat =35.0.0

swc_ecma_transforms_macros proposal? react?
swc_ecma_transforms_optimization bundler?

Enables swc_ecma_transforms_optimization =32.0.0

swc_ecma_transforms_proposal proposal?

Enables swc_ecma_transforms_proposal =30.0.0

swc_ecma_transforms_react react?

Enables swc_ecma_transforms_react =33.0.0

swc_ecma_transforms_typescript typescript?

Enables swc_ecma_transforms_typescript =33.0.0

swc_ecma_utils utils?

Enables swc_ecma_utils =24.0.0

swc_ecma_visit visit?

Enables swc_ecma_visit =18.0.1

swc_bundler bundler?

Enables swc_bundler =35.0.0

swc_graph_analyzer bundler?
swc_macros_common codegen? proposal? react? visit?
swc_sourcemap sourcemap?
swc_ts_fast_strip type_strip?

Enables swc_ts_fast_strip =36.0.0

swc_trace_macro compat?
swc_visit visit?