| Crates.io | ape |
| lib.rs | ape |
| version | 0.6.0 |
| created_at | 2016-01-16 18:00:11.060923+00 |
| updated_at | 2025-02-04 04:00:03.33402+00 |
| description | A library for reading and writing APEv2 tags |
| homepage | |
| repository | https://github.com/rossnomann/ape |
| max_upload_size | |
| id | 3905 |
| size | 47,662 |
A library for reading and writing APEv2 tags.
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".
TryFrom<&Item> trait implementation for Vec<&str> and &str.TryFrom<Item> trait implementation for Vec<String> and String.ItemValue enum and Item.value field; use TryFrom instead.ItemType { Binary, Locator, Text } enum.Item::new(key, type, value) method.Item::from_binary, Item::from_locator and Item::from_text methods; use Item::new method instead.Item.add_value method.Tag::add_item method; use Item.add_value instead.Item::with_type method.Item::with_value method.Item.get_type method.Error enum:
FromUtf8, ParseIntParseItemKey, ParseItemBinary, ParseItemValue, ParseLyrics3V2SizeStr, ParseLyrics3V2SizeInt.BadItemType -> InvalidItemType(u32).BadTagSize -> InvalidTagSize.Tag::items method.Tag::add_item method.Tag::remove_item by Tag::remove_items method.
Tag::item method returns a first found item.
Tag::set_item removes all items under the given key and adds a new one.Clone for Item and ItemValue structs.Item::from_locator and Item::from_text.Error::description.Item::to_vec method is private now.items field from the Tag struct.Tag::iter() method.IntoIterator implementation for Tag struct.Tag::write method replaced by write function.Result<()> instead of Option<Error>.The MIT License (MIT)