mirror of
https://github.com/Serial-ATA/lofty-rs
synced 2024-11-10 06:34:18 +00:00
f4611ca357
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
63 lines
1.7 KiB
TOML
63 lines
1.7 KiB
TOML
[package]
|
|
name = "lofty"
|
|
version = "0.18.2"
|
|
authors = ["Serial <69764315+Serial-ATA@users.noreply.github.com>"]
|
|
edition = "2021"
|
|
license = "MIT OR Apache-2.0"
|
|
description = "Audio metadata library"
|
|
repository = "https://github.com/Serial-ATA/lofty-rs"
|
|
keywords = ["tags", "audio", "metadata", "id3", "vorbis"]
|
|
categories = ["multimedia", "multimedia::audio", "parser-implementations"]
|
|
readme = "README.md"
|
|
include = ["src", "LICENSE-APACHE", "LICENSE-MIT", "SUPPORTED_FORMATS.md"]
|
|
|
|
[dependencies]
|
|
# Vorbis comments pictures
|
|
data-encoding = "2.5.0"
|
|
byteorder = "1.5.0"
|
|
# ID3 compressed frames
|
|
flate2 = { version = "1.0.28", optional = true }
|
|
# Proc macros
|
|
lofty_attr = { path = "lofty_attr" }
|
|
# Debug logging
|
|
log = "0.4.20"
|
|
# OGG Vorbis/Opus
|
|
ogg_pager = "0.6.0"
|
|
# Key maps
|
|
paste = "1.0.14"
|
|
|
|
[features]
|
|
default = ["id3v2_compression_support"]
|
|
id3v2_compression_support = ["dep:flate2"]
|
|
|
|
[dev-dependencies]
|
|
# WAV properties validity tests
|
|
hound = { git = "https://github.com/ruuda/hound.git", rev = "02e66effb33683dd6acb92df792683ee46ad6a59" }
|
|
# tag_writer example
|
|
structopt = { version = "0.3.26", default-features = false }
|
|
tempfile = "3.9.0"
|
|
|
|
# Pretty heavy dependency, we don't want this compiling for test/doc runs
|
|
[target.'cfg(bench)'.dev-dependencies]
|
|
criterion = { version = "0.5.1", features = ["html_reports"] }
|
|
|
|
[lib]
|
|
bench = false
|
|
|
|
[[bench]]
|
|
name = "read_file"
|
|
path = "benches/read_file.rs"
|
|
harness = false
|
|
|
|
[[bench]]
|
|
name = "create_tag"
|
|
path = "benches/create_tag.rs"
|
|
harness = false
|
|
|
|
[[example]]
|
|
name = "custom_resolver"
|
|
path = "examples/custom_resolver/src/main.rs"
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
rustdoc-args = ["--cfg", "docsrs"]
|