Cargo Features
oxc has no features set by default.
[dependencies]
oxc = { version = "0.12.5", features = ["serialize", "semantic", "transformer", "minifier", "codegen", "sourcemap"] }
- serialize
-
Enables serialize of oxc_ast, optional oxc_semantic, oxc_span, and oxc_syntax
- semantic = oxc_semantic
-
Affects
oxc::semantic
… - transformer = oxc_transformer
-
Affects
oxc::transformer
… - minifier = oxc_minifier
-
Affects
oxc::minifier
… - codegen = oxc_codegen
-
Affects
oxc::codegen
… - sourcemap = oxc_sourcemap
-
Affects
oxc::sourcemap
…
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.