https://bugs.kde.org/show_bug.cgi?id=415915

            Bug ID: 415915
           Summary: Upgrading serde-xml-rs from 0.2 to 0.3.1
           Product: rust-qt-binding-generator
           Version: unspecified
          Platform: Compiled Sources
                OS: Linux
            Status: REPORTED
          Severity: wishlist
          Priority: NOR
         Component: general
          Assignee: j...@vandenoever.info
          Reporter: jeffrey.scott.fles...@gmail.com
  Target Milestone: ---

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.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to