Update minify-html, dependencies (minor & point)

This commit is contained in:
asonix 2024-01-07 12:10:43 -06:00
parent 8c811710ac
commit e377f3988b
3 changed files with 702 additions and 262 deletions

955
Cargo.lock generated

File diff suppressed because it is too large Load diff

View file

@ -44,7 +44,7 @@ metrics-exporter-prometheus = { version = "0.12.0", default-features = false, fe
] } ] }
metrics-util = "0.15.0" metrics-util = "0.15.0"
mime = "0.3.16" mime = "0.3.16"
minify-html = "0.11.0" minify-html = "0.15.0"
opentelemetry = "0.21" opentelemetry = "0.21"
opentelemetry_sdk = { version = "0.21", features = ["rt-tokio"] } opentelemetry_sdk = { version = "0.21", features = ["rt-tokio"] }
opentelemetry-otlp = "0.14" opentelemetry-otlp = "0.14"

View file

@ -14,10 +14,11 @@ const MINIFY_CONFIG: minify_html::Cfg = minify_html::Cfg {
keep_html_and_head_opening_tags: false, keep_html_and_head_opening_tags: false,
keep_spaces_between_attributes: true, keep_spaces_between_attributes: true,
keep_comments: false, keep_comments: false,
keep_input_type_text_attr: true,
keep_ssi_comments: false,
preserve_brace_template_syntax: false,
preserve_chevron_percent_template_syntax: false,
minify_css: true, minify_css: true,
minify_css_level_1: true,
minify_css_level_2: false,
minify_css_level_3: false,
minify_js: true, minify_js: true,
remove_bangs: true, remove_bangs: true,
remove_processing_instructions: true, remove_processing_instructions: true,