Yamato-Security / hayabusa-evtx

A fork of the evtx Rust crate for Hayabusa
Apache License 2.0
6 stars 2 forks source link

Compile error with quick-xml 0.33.0 #58

Closed YamatoSecurity closed 4 months ago

YamatoSecurity commented 4 months ago

I get the following compile error with the latest quick-xml:

error[E0308]: mismatched types
    --> src/xml_output.rs:145:31
     |
145  |         let event = Event::PI(BytesText::new(concat.as_str()));
     |                     --------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `BytesPI<'_>`, found `BytesText<'_>`
     |                     |
     |                     arguments to this enum variant are incorrect
     |
note: tuple variant defined here

@hitenkoku Could you look into this?

YamatoSecurity commented 4 months ago

There is one more compiler error/warning in json_output.rs line 478: reader.trim_text(true);

no method named 'trim_text' found for struct 'Reader' in the current scope