Package: reform-setup-wizard

I hope to update rust-quick-xml to 0.38 soon, the new version is available in experimental.

Unfortunately, reform-setup-wizard fails to build with the new version, specifically.

error[E0599]: no method named `unescape` found for struct `BytesText<'_>` in the current scope
   --> src/main.rs:266:30
    |
266 |                  let val = e.unescape().unwrap().clone();
    |                              ^^^^^^^^ method not found in `BytesText<'_>`

The upstream changelog for rust-quick-xml says

  * #766 <https://github.com/tafia/quick-xml/pull/766>:
    |BytesText::unescape| and |BytesText::unescape_with| replaced by
    |BytesText::decode|. Now Text events does not contain escaped
    parts which are reported as |Event::GeneralRef|.

I replaced .unescape() with .decode() and the code built succesfully, I would appreciate if the maintainers could test the patch and report back if the package is still fully functional.

Debdiff is attatched

Reply via email to