lofty-rs/Cargo.toml
2023-04-10 10:26:59 -04:00

62 lines
1.6 KiB
TOML

[package]
name = "lofty"
version = "0.12.1"
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::audio"]
readme = "README.md"
include = ["src", "Cargo.toml", "LICENSE-APACHE", "LICENSE-MIT", "benches", "SUPPORTED_FORMATS.md"]
[dependencies]
# Vorbis comments pictures
base64 = "0.21.0"
byteorder = "1.4.3"
# ID3 compressed frames
flate2 = { version = "1.0.25", optional = true }
# Proc macros
lofty_attr = "0.6.0"
# Debug logging
log = "0.4.17"
# OGG Vorbis/Opus
ogg_pager = "0.5.0"
# Key maps
once_cell = "1.16.0"
paste = "1.0.11"
[features]
default = ["id3v2_compression_support"]
id3v2_compression_support = ["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.3.0"
# Pretty heavy dependency, we don't want this compiling for test/doc runs
[target.'cfg(bench)'.dev-dependencies]
criterion = { version = "0.4.0", features = ["html_reports"] }
[lib]
bench = false
[[bench]]
name = "read_file"
harness = false
[[bench]]
name = "create_tag"
harness = false
[[example]]
name = "custom_resolver"
path = "examples/custom_resolver/src/main.rs"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]