Bug 415915

Summary: Upgrading serde-xml-rs from 0.2 to 0.3.1
Product: [Unmaintained] rust-qt-binding-generator Reporter: Jeff Flesher <jeffrey.scott.flesher>
Component: generalAssignee: Jos van den Oever <jos>
Status: RESOLVED FIXED    
Severity: wishlist    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Jeff Flesher 2020-01-06 03:10:48 UTC
Upgrading Cargo.toml 
from
serde-xml-rs = "0.2.1"
to
serde-xml-rs = "0.3.1"

build.rs
from
use serde_xml_rs::deserialize;
to
extern crate serde_xml_rs;

from
let mut rcc: RCC = deserialize(&bytes[..]).unwrap_or_else(|e| panic!("could not parse {}: {}", qrc.display(), e));
to
let mut rcc: RCC = serde_xml_rs::from_reader(&bytes[..]).unwrap_or_else(|e| panic!("could not parse {}: {}", qrc.display(), e));

One way to upgrade from .2 to .3, but it may not be the best way, so I will put an upgrade on a wishlist.
Comment 1 Jos van den Oever 2020-01-12 21:02:12 UTC
This is fixed in 4d393706b84a3c2852ece2689366811a0fc02207.