1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
Index: xcb/Cargo.toml
===================================================================
--- xcb.orig/Cargo.toml
+++ xcb/Cargo.toml
@@ -214,4 +214,4 @@ features = [
]
[build-dependencies.quick-xml]
-version = "0.30.0"
+version = ">= 0.34, < 0.37"
Index: xcb/build/parse.rs
===================================================================
--- xcb.orig/build/parse.rs
+++ xcb/build/parse.rs
@@ -305,7 +305,7 @@ impl<B: BufRead> Iterator for &mut Parse
impl Parser<BufReader<File>> {
pub fn from_file(xml_file: &Path) -> Self {
let mut xml = XmlReader::from_file(xml_file).unwrap();
- xml.trim_text(true);
+ xml.config_mut().trim_text(true);
Parser {
xml,
|