No description
Find a file
Serial f4611ca357 misc: Introduce WriteOptions
This allows the caller to tweak how Lofty writes their tags in various ways.

As this is just a dumping ground for all sorts of format-specific settings, this is best used as an application global config that gets set once.

In its current state, it will only respect `uppercase_id3v2_chunk` and `preferred_padding` (for some formats).

`respect_read_only` and `remove_others` are defined for later use.

closes #228
2024-04-03 12:52:07 -04:00
.github Fail CI build on clippy warnings 2024-01-06 13:28:58 -05:00
benches Tests/Benches: Fixup for new Picture::new_unchecked signature 2023-12-18 12:36:45 -05:00
benches_assets benches: Move assets outside of benches 2023-11-15 12:09:52 -05:00
doc README: Give Lofty a logo 2024-03-09 21:43:49 -05:00
examples misc: Introduce WriteOptions 2024-04-03 12:52:07 -04:00
fuzz Fuzz: Add target for Probe::read 2023-10-22 23:44:21 -04:00
lofty_attr misc: Introduce WriteOptions 2024-04-03 12:52:07 -04:00
ogg_pager ogg_pager: 0.6.0 2024-01-03 10:19:28 -05:00
src misc: Introduce WriteOptions 2024-04-03 12:52:07 -04:00
tests misc: Introduce WriteOptions 2024-04-03 12:52:07 -04:00
.editorconfig CONTRIBUTING: Start work on new tag docs 2024-01-20 10:02:14 -05:00
.gitignore gitignore: Support symbolic link for target directory 2023-01-04 13:12:25 -05:00
Cargo.toml misc: Introduce WriteOptions 2024-04-03 12:52:07 -04:00
CHANGELOG.md misc: Introduce WriteOptions 2024-04-03 12:52:07 -04:00
CONTRIBUTING.md CONTRIBUTING: Add docs for creating PRs 2024-01-20 10:02:14 -05:00
LICENSE-APACHE Change license 2021-04-03 14:56:29 -04:00
LICENSE-MIT Change license 2021-04-03 14:56:29 -04:00
README.md README: Give Lofty a logo 2024-03-09 21:43:49 -05:00
rustfmt.toml Cleanup 2022-02-12 02:52:43 -05:00
SUPPORTED_FORMATS.md Misc: Update SUPPORTED_FORMATS.md 2023-06-06 10:34:37 -04:00

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.