Cargo Features

Boa has no features set by default.

[dependencies]
Boa = { version = "0.13.1", features = ["profiler", "deser", "vm", "console"] }
profiler = measureme, once_cell

Affects profiler::BoaProfiler

deser
vm

Enable Bytecode generation & execution instead of tree walking

Affects Boa::bytecompiler, Boa::vm

console

Enable Boa's WHATWG console object implementation.

Affects builtins::console

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.

measureme profiler?

Enables measureme ^9.1.2

Optional Dependencies

once_cell profiler?