Fixed multiple values support.
You may need to overwrite your tags if you have called the Tag::add_item method with the same key multiple times,
since the spec states that
"Every Tag Item Key can only occures (at most) once".
- Updated byteorder to 1.5.
- Added
TryFrom<&Item>trait implementation forVec<&str>and&str. - Added
TryFrom<Item>trait implementation forVec<String>andString. - Removed
ItemValueenum andItem.valuefield; useTryFrominstead. - Added
ItemType { Binary, Locator, Text }enum. - Added
Item::new(key, type, value)method. - Removed
Item::from_binary,Item::from_locatorandItem::from_textmethods; useItem::newmethod instead. - Added
Item.add_valuemethod. - Removed
Tag::add_itemmethod; useItem.add_valueinstead. - Added
Item::with_typemethod. - Added
Item::with_valuemethod. - Added
Item.get_typemethod. - Changed
Errorenum:- Removed:
FromUtf8,ParseInt - Added:
ParseItemKey,ParseItemBinary,ParseItemValue,ParseLyrics3V2SizeStr,ParseLyrics3V2SizeInt. - Changed:
BadItemType->InvalidItemType(u32).BadTagSize->InvalidTagSize.
- Removed: