Structs

Configuration settings that can be adjusted and passed to a minification function to change the minification approach.
Details about a minification failure, including where it occurred and why.
User-friendly details about a minification failure, including an English message description of the reason, and generated printable contextual representation of the code where the error occurred.

Enums

Represents the type of minification error.

Functions

Copies a slice into a new Vec and minifies it, returning the Vec. The resulting Vec will only contain minified code.
Minifies a slice in-place and returns the new minified length. Any original code after the end of the minified code is left intact.
Minifies a str in-place and returns the new minified str. Any original code after the end of the minified code is left intact.
Minifies a Vec in-place, truncating it to the minified length.
Minifies a slice in-place and returns the new minified length. Any original code after the end of the minified code is left intact.