[−][src]Crate minify_html
Structs
Cfg | Configuration settings that can be adjusted and passed to a minification function to change the minification approach. |
Error | Details about a minification failure, including where it occurred and why. |
FriendlyError | 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
ErrorType | Represents the type of minification error. |
Functions
copy | Copies a slice into a new Vec and minifies it, returning the Vec. The resulting Vec will only contain minified code. |
in_place | Minifies a slice in-place and returns the new minified length. Any original code after the end of the minified code is left intact. |
in_place_str | Minifies a str in-place and returns the new minified length. Any original code after the end of the minified code is left intact. |
truncate | Minifies a Vec in-place, truncating it to the minified length. |
with_friendly_error | Minifies a slice in-place and returns the new minified length. Any original code after the end of the minified code is left intact. |