Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rossnomann/ape

A library for reading and writing APEv2 tags
https://github.com/rossnomann/ape

apev2-tags rust

Last synced: about 2 months ago
JSON representation

A library for reading and writing APEv2 tags

Awesome Lists containing this project

README

        

# APE

A library for reading and writing [APEv2 tags][1].

[![CI Status](https://img.shields.io/github/actions/workflow/status/rossnomann/ape/ci.yml?style=flat-square)](https://github.com/rossnomann/ape/actions/)
[![Downloads](https://img.shields.io/crates/d/ape.svg?style=flat-square)](https://crates.io/crates/ape/)
[![Documentation](https://img.shields.io/badge/docs-rs-yellowgreen.svg?style=flat-square)](https://docs.rs/ape)

## Changelog

### 0.5.0 (11.01.2023)

- Add support for multiple values under same key
- Add `Tag::items()` method.
- Add `Tag::add_item()` method.
- Replace `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.
- Derive `Clone` for `Item` and `ItemValue` structs.

### 0.4.0 (13.01.2022)

- Switched to 2021 edition.
- Updated byteorder to 1.4
- Support reading/writing/removing tags from opened files.
- Case-insensitive key comparison.
- Support writing an empty tag.

### 0.3.0 (29.03.2020)

- Switched to 2018 edition.
- Updated byteorder to 1.3
- Fixed type parameters in `Item::from_locator` and `Item::from_text`.
- Removed use of deprecated `Error::description`.
- Lowercase error description.
- `Item::to_vec` method is private now.
- Removed `items` field from the `Tag` struct.
- Added `Tag::iter()` method.
- Added `IntoIterator` implementation for `Tag` struct.
- `Tag::write` method replaced by `write` function.

### 0.2.0 (10.12.2017)

- Use byteorder 1.0.0.

### 0.1.2 (18.05.2016)

- Small internal improvements.

### 0.1.1 (21.01.2016)

- Use `Result<()>` instead of `Option`.

### 0.1.0 (16.01.2016)

- First release.

## LICENSE

The MIT License (MIT)

[1]: http://wiki.hydrogenaud.io/index.php?title=APEv2_specification