mirror of
https://github.com/mbilker/kbinxml-rs.git
synced 2026-09-08 10:35:32 -05:00
cargo: update rustc-hex
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -240,7 +240,7 @@ impl KbinXml {
|
||||
StandardType::NodeStart => {},
|
||||
|
||||
StandardType::Binary => {
|
||||
let data = text.from_hex().context(KbinErrorKind::HexError)?;
|
||||
let data: Vec<u8> = text.from_hex().context(KbinErrorKind::HexError)?;
|
||||
trace!("data: 0x{:02x?}", data);
|
||||
|
||||
let size = (data.len() as u32) * (node_type.size as u32);
|
||||
|
||||
Reference in New Issue
Block a user