diff --git a/Cargo.toml b/Cargo.toml index 2b6f5de..ce62e18 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,6 +14,6 @@ minidom = "0.9.0" num = "0.2.0" pretty_env_logger = "0.2.3" quick-xml = "0.12.1" -rustc-hex = "1.0.0" +rustc-hex = "2.0.1" serde = "1.0.69" serde_derive = "1.0.69" diff --git a/src/lib.rs b/src/lib.rs index c31ed97..46e8daa 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -240,7 +240,7 @@ impl KbinXml { StandardType::NodeStart => {}, StandardType::Binary => { - let data = text.from_hex().context(KbinErrorKind::HexError)?; + let data: Vec = text.from_hex().context(KbinErrorKind::HexError)?; trace!("data: 0x{:02x?}", data); let size = (data.len() as u32) * (node_type.size as u32);