1
0
Fork 0
mirror of https://github.com/alfg/mp4-rust.git synced 2024-06-11 09:29:21 +00:00

fix test and serde version.

This commit is contained in:
Alf 2020-09-06 22:55:24 -07:00
parent eb84c8af20
commit 915a4c582d
2 changed files with 2 additions and 2 deletions

View file

@ -22,7 +22,7 @@ thiserror = "^1.0"
byteorder = "1"
bytes = "0.5"
num-rational = { version = "0.3", features = ["serde"] }
serde = { version = "1.0.0", features = ["derive"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
[dev-dependencies]

View file

@ -231,7 +231,7 @@ mod tests {
let ftyp_fcc = 0x66747970;
let ftyp_value = FourCC::from(ftyp_fcc);
assert_eq!(ftyp_value.value, "ftyp");
let ftyp_fcc2 = ftyp_value.into();
let ftyp_fcc2: u32 = ftyp_value.into();
assert_eq!(ftyp_fcc, ftyp_fcc2);
}
}