Skip to content

Commit

Permalink
use quick-xml instead of xml-rs
Browse files Browse the repository at this point in the history
Since XML-rs is for the time being unmaintained[^1], and have been
marked as such in RUSTSET[^2]. I have made ported the XML parsing to
quick-xml.

[^1]: netvl/xml-rs#221

[^2]: https://rustsec.org/advisories/RUSTSEC-2022-0048
  • Loading branch information
Erk- authored and patrickelectric committed Aug 22, 2022
1 parent 9803e32 commit 3ea2434
Show file tree
Hide file tree
Showing 3 changed files with 152 additions and 89 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ edition = "2018"
[build-dependencies]
crc-any = "2.3.0"
bytes = { version = "1.0", default-features = false }
xml-rs = "0.2"
quick-xml = "0.23"
quote = "0.3"
lazy_static = "1.2.0"
serde = { version = "1.0.115", optional = true, features = ["derive"] }
Expand Down
2 changes: 1 addition & 1 deletion build/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#[macro_use]
extern crate quote;

extern crate xml;
extern crate quick_xml;

mod binder;
mod parser;
Expand Down
Loading

0 comments on commit 3ea2434

Please sign in to comment.