Cargo Features

[dependencies]
oxc_parser = { version = "0.61.2", default-features = false, features = ["regular_expression", "benchmarking"] }
default = regular_expression

The regular_expression feature is set by default whenever oxc_parser is added without default-features = false somewhere in the dependency tree.

regular_expression default

Parse regex

Enables oxc_regular_expression

Affects oxc_parser::ParseOptions.parse_regular_expression

benchmarking

Expose Lexer for benchmarks

Affects oxc_parser::lexer