Cargo Features

boa_engine has no features set by default.

[dependencies]
boa_engine = { version = "0.18.0", features = ["profiler", "deser", "intl_bundled", "intl", "fuzz", "flowgraph", "trace", "annex-b", "temporal", "experimental", "js"] }
profiler

Enables profiler of boa_profiler

deser

Enables serde of boa_ast and boa_interner

intl_bundled = intl

Enables the Intl builtin object and bundles a default ICU4X data provider. Prefer this over intl if you just want to enable Intl without dealing with the generation of ICU4X data.

Enables boa_icu_provider

intl deps

intl intl_bundled?

Enables Boa's Intl builtin implementation. Prefer this over intl_bundled if you want to reduce the size of the final binary by providing a smaller ICU4X data provider.

Enables icu_plurals, icu_provider, icu_segmenter, sys-locale, tinystr, writeable, yoke, and zerofrom, fixed_decimal, icu_calendar, icu_casemap, icu_collator, icu_datetime, icu_decimal, icu_list, icu_locid, and icu_locid_transform, icu of boa_gc, serde and std of icu_normalizer

Affects builtins::intl

fuzz

Enables arbitrary of boa_ast and boa_interner

flowgraph

Enable Boa's VM instruction flowgraph generator.

Affects vm::flowgraph

trace = js

Enable Boa's VM instruction tracing.

annex-b

Enable Boa's additional ECMAScript features for web browsers.

Enables annex-b of boa_parser

Affects builtins::escape

temporal experimental?

Enable Boa's Temporal proposal implementation

Enables icu_calendar and temporal_rs

temporal_rs:

temporal deps

Affects builtins::temporal

experimental = temporal

Enable experimental features, like Stage 3 proposals.

js trace?

Enable binding to JS APIs for system related utilities.

Enables web-time