Cargo Features

simple-minify-html has no features set by default.

[dependencies]
simple-minify-html = { version = "0.16.0", features = ["css", "js"] }
css

Enables lightningcss

Affects css::minify_css, helpers::create_common_css_test_data, tests::eval_with_css_min

js = oxc_allocator, oxc_codegen, oxc_mangler, oxc_parser, oxc_span

Enables oxc_minifier ^0.51.0

Affects js::minify_js, helpers::create_common_js_test_data, tests::eval_with_js_min

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.

oxc_allocator js?

Enables oxc_allocator ^0.51.0

oxc_codegen js?

Enables oxc_codegen ^0.51.0

oxc_mangler js?

Enables oxc_mangler ^0.51.0

oxc_parser js?

Enables oxc_parser ^0.51.0

oxc_span js?

Enables oxc_span ^0.51.0