File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -8,8 +8,8 @@ edition = "2021"
88# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
99
1010[dev-dependencies ]
11- criterion = { version = " 0.6 " , features = [" html_reports" ] }
12- markup5ever = " 0.16 "
11+ criterion = { version = " 0.7 " , features = [" html_reports" ] }
12+ markup5ever = " 0.35 "
1313# maybe_xml 0.11 regressed perfomance by x2, and because this was the fastest
1414# XML parser, we keep benchmarking version 0.10 as well
1515maybe_xml_0_10 = { version = " 0.10" , package = " maybe_xml" }
@@ -20,7 +20,7 @@ rusty_xml = { version = "0.3", package = "RustyXML" }
2020serde-xml-rs = " 0.8"
2121xml_oxide = " 0.3"
2222xml-rs = " 0.8"
23- xml5ever = " 0.22 "
23+ xml5ever = " 0.35 "
2424xmlparser = " 0.13"
2525# Do not use "derive" feature, because it slowdown compilation
2626# See https://github.com/serde-rs/serde/pull/2588
Original file line number Diff line number Diff line change @@ -233,10 +233,10 @@ fn low_level_comparison(c: &mut Criterion) {
233233
234234 fn process_token ( & self , token : Token ) -> ProcessResult < Self :: Handle > {
235235 match token {
236- Token :: TagToken ( tag) if tag. kind == TagKind :: StartTag => {
236+ Token :: Tag ( tag) if tag. kind == TagKind :: StartTag => {
237237 self . 0 . set ( self . 0 . get ( ) + 1 ) ;
238238 }
239- Token :: TagToken ( tag) if tag. kind == TagKind :: EmptyTag => {
239+ Token :: Tag ( tag) if tag. kind == TagKind :: EmptyTag => {
240240 self . 0 . set ( self . 0 . get ( ) + 1 ) ;
241241 }
242242 _ => ( ) ,
You can’t perform that action at this time.
0 commit comments