lofty-rs/README.md

66 lines
2.2 KiB
Markdown
Raw Normal View History

2024-03-07 07:26:07 +00:00
<img align="right" width="200" height="200" src="doc/lofty.svg" alt="Lofty logo">
2021-04-03 00:50:28 +00:00
# Lofty
2024-03-07 07:26:07 +00:00
*Parse, convert, and write metadata to various audio formats.*
2022-12-16 03:15:32 +00:00
[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/Serial-ATA/lofty-rs/ci.yml?branch=main&logo=github&style=for-the-badge)](https://github.com/Serial-ATA/lofty-rs/actions/workflows/ci.yml)
2021-04-23 22:12:55 +00:00
[![Downloads](https://img.shields.io/crates/d/lofty?style=for-the-badge&logo=rust)](https://crates.io/crates/lofty)
[![Version](https://img.shields.io/crates/v/lofty?style=for-the-badge&logo=rust)](https://crates.io/crates/lofty)
2021-04-23 02:11:04 +00:00
[![Documentation](https://img.shields.io/badge/docs.rs-lofty-informational?style=for-the-badge&logo=read-the-docs)](https://docs.rs/lofty/)
2024-05-04 20:33:22 +00:00
[![GitHub Sponsors](https://img.shields.io/github/sponsors/Serial-ATA?style=for-the-badge&logo=githubsponsors)](https://github.com/sponsors/Serial-ATA)
2020-10-25 16:29:14 +00:00
⚠️ **LOOKING FOR HELP WITH DOCUMENTATION** ⚠️
I'm looking for help with the refinement of the docs. Any contribution, whether it be typos,
grammar, punctuation, or missing examples is highly appreciated!
2021-04-04 03:15:06 +00:00
## Supported Formats
2020-10-25 21:39:38 +00:00
[See here](./SUPPORTED_FORMATS.md)
2020-10-25 21:39:38 +00:00
2021-12-20 14:44:38 +00:00
## Examples
2021-12-20 14:44:38 +00:00
* [Tag reader](examples/tag_reader.rs)
* [Tag stripper](examples/tag_stripper.rs)
2021-12-20 15:58:00 +00:00
* [Tag writer](examples/tag_writer.rs)
2022-07-24 20:08:46 +00:00
* [Custom resolver](examples/custom_resolver)
2021-12-20 14:44:38 +00:00
To try them out, run:
```bash
cargo run --example tag_reader /path/to/file
2021-12-20 14:44:38 +00:00
cargo run --example tag_stripper /path/to/file
2022-03-16 00:52:10 +00:00
cargo run --example tag_writer <options> /path/to/file
2022-07-24 20:08:46 +00:00
cargo run --example custom_resolver
```
2021-04-04 03:15:06 +00:00
## Documentation
2021-04-21 18:48:45 +00:00
2021-04-04 03:15:06 +00:00
Available [here](https://docs.rs/lofty)
## Benchmarking
There are benchmarks available [here](./benches). To run them, do:
```shell
cargo bench
```
2021-04-04 03:11:35 +00:00
## License
Licensed under either of
* Apache License, Version 2.0
([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)
* MIT license
([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)
at your option.
## Contribution
2020-10-25 16:29:14 +00:00
2021-04-04 03:11:35 +00:00
Unless you explicitly state otherwise, any contribution intentionally submitted
for inclusion in the work by you, as defined in the Apache-2.0 license, shall be
dual licensed as above, without any additional terms or conditions.