Parse, convert, and write metadata to various audio formats.
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!
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
Available here
As some formats are complex, Lofty makes use of test-log to get the detailed debug/trace logging for failures. To run the tests, do:
RUST_LOG=trace cargo test
There are benchmarks available here with both Linux-specific and cross-platform options:
cargo bench --bench read_file --bench create_tag
cargo bench --bench read_file_criterion --bench create_tag_criterion
cargo bench
Note: The iai-callgrind benchmarks require Linux and Valgrind. The Criterion benchmarks work on all platforms and provide statistical analysis with HTML reports in target/criterion/
.
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
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.