0

I need to canonicalize XML structures as described in the W3C specification Exclusive XML Canonicalization Version 1.0 (xml-exc-c14n).

Unfortunately, I could not find this implemented in any of the XML libraries I looked at (quick-xml, xml-rs...). Internet searches found nothing either, though perhaps I don't know what to look for.

Am I missing something? Is XML canonicalization not implemented in Rust anywhere? Ideally looking for a library.

Or do I need to implement this from scratch? What libraries could I use to minimize the work I need to do?

  • Question got closed, but if anyone else needs this, I ended up wrapping libxml for a safe Rust API. https://crates.io/crates/xml_c14n – Reinis Mažeiks Aug 30 '23 at 10:14

0 Answers0