Skip to content

Commit

Permalink
bump to html5gum 0.5.5 for some speedups
Browse files Browse the repository at this point in the history
  • Loading branch information
untitaker committed Jul 25, 2023
1 parent 93b96a3 commit 8ab36f7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 0 additions & 2 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ rayon = "1.5.1"
pulldown-cmark = "0.8.0"
blake3 = "1.0.0"

html5gum = "0.5.4"
html5gum = "0.5.5"
jwalk = "0.7.0"
patricia_tree = "0.3.1"
bumpalo = { version = "3.11.1", features = ["collections"] }
Expand Down
4 changes: 4 additions & 0 deletions src/html/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,10 @@ where
fn emit_current_doctype(&mut self) {}
fn emit_eof(&mut self) {}
fn emit_error(&mut self, _: Error) {}
#[inline]
fn should_emit_errors() -> bool {
false
}
fn init_comment(&mut self) {}
fn init_doctype(&mut self) {}
fn push_comment(&mut self, _: &[u8]) {}
Expand Down

0 comments on commit 8ab36f7

Please sign in to comment.