33 releases (15 breaking)

new 0.19.0 Apr 21, 2024
0.18.2 Jan 23, 2024
0.17.1 Nov 26, 2023
0.15.0 Jul 11, 2023
0.2.0 May 19, 2021

#11 in Audio

Download history 1072/week @ 2024-01-03 1402/week @ 2024-01-10 2115/week @ 2024-01-17 1819/week @ 2024-01-24 1887/week @ 2024-01-31 1323/week @ 2024-02-07 2396/week @ 2024-02-14 2882/week @ 2024-02-21 1838/week @ 2024-02-28 1486/week @ 2024-03-06 2214/week @ 2024-03-13 2039/week @ 2024-03-20 1921/week @ 2024-03-27 1989/week @ 2024-04-03 1858/week @ 2024-04-10 1609/week @ 2024-04-17

7,821 downloads per month
Used in 41 crates (20 directly)

MIT/Apache

1MB
23K SLoC

Lofty logo

Lofty

Parse, convert, and write metadata to various audio formats.

GitHub Workflow Status Downloads Version Documentation

⚠️ 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!

Supported Formats

See here

Examples

To try them out, run:

cargo run --example tag_reader /path/to/file
cargo run --example tag_stripper /path/to/file
cargo run --example tag_writer <options> /path/to/file
cargo run --example custom_resolver

Documentation

Available here

Benchmarking

There are benchmarks available here.

These benchmarks make use of criterion, and due to its size it cannot be a normal dev-dependency. To run the benchmarks do:

RUSTFLAGS="--cfg bench" cargo bench

License

Licensed under either of

at your option.

Contribution

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.

Dependencies

~0.6–1.2MB
~25K SLoC