Cargo Features

dprint-swc-ext has no features set by default.

[dependencies]
dprint-swc-ext = { version = "0.15.1", features = ["sourcemap", "view"] }
sourcemap

Enables sourcemap of swc_common

view = allocator-api2, bumpalo

Affects dprint-swc-ext::view, test_helpers::get_swc_script

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.

allocator-api2 view?
bumpalo view?