Skip to content

Commit

Permalink
Cargo update
Browse files Browse the repository at this point in the history
  • Loading branch information
Keats committed Jan 9, 2021
1 parent ccad454 commit 819cfc8
Show file tree
Hide file tree
Showing 4 changed files with 55 additions and 59 deletions.
105 changes: 49 additions & 56 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion components/front_matter/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,8 @@ errors = { path = "../errors" }
utils = { path = "../utils" }

[dev-dependencies]
test-case = "1.0"
# Remove from git patch when 1.0.1 is released
# https://github.com/frondeus/test-case/issues/62
# test-case = "1.0"
test-case = { git = "https://github.com/frondeus/test-case" }

2 changes: 1 addition & 1 deletion components/utils/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ serde_derive = "1"
slug = "0.1"
percent-encoding = "2"
filetime = "0.2.12"
minify-html = "0.3.8"
minify-html = "0.4"

errors = { path = "../errors" }

Expand Down
2 changes: 1 addition & 1 deletion components/utils/src/minify.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use errors::{bail, Result};
use minify_html::{with_friendly_error, Cfg};

pub fn html(html: String) -> Result<String> {
let cfg = &Cfg { minify_js: false };
let cfg = &Cfg { minify_js: false, minify_css: false };
let mut input_bytes = html.as_bytes().to_vec();

match with_friendly_error(&mut input_bytes, cfg) {
Expand Down

0 comments on commit 819cfc8

Please sign in to comment.