Cargo Features
[dependencies]
oxc = { version = "0.61.2", default-features = false, features = ["full", "semantic", "transformer", "minifier", "codegen", "mangler", "cfg", "isolated_declarations", "ast_visit", "regular_expression", "serialize"] }
- default = regular_expression
-
The
regular_expression
feature is set by default wheneveroxc
is added without
somewhere in the dependency tree.default-features = false - full = ast_visit, cfg, codegen, isolated_declarations, mangler, minifier, regular_expression, semantic, transformer
- semantic full? = oxc_semantic
-
Affects
oxc::semantic
… - transformer full? = oxc_transformer
-
Affects
oxc::transformer
… - minifier full? = oxc_mangler, oxc_minifier
-
Affects
oxc::minifier
… - codegen full? = oxc_codegen
-
Affects
oxc::codegen
… - mangler full? = oxc_mangler
-
Affects
oxc::mangler
… - cfg full? = oxc_cfg
-
Affects
oxc::cfg
… - isolated_declarations full? = oxc_isolated_declarations
-
Affects
oxc::isolated_declarations
… - ast_visit full? = oxc_ast_visit
-
Affects
oxc::ast_visit
… - regular_expression default full? = oxc_regular_expression
-
Enables oxc_parser
Affects
oxc::regular_expression
… - serialize
-
Enables from_raw_parts of oxc_allocator, serialize of oxc_ast, oxc_ast_visit, oxc_span, oxc_syntax, and optional oxc_semantic
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.