lofty-rs/Cargo.toml
Serial 1fa9c1b75c Make lofty_attr a git only dependency
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-06-27 14:52:49 -04:00

55 lines
No EOL
1.6 KiB
TOML

[package]
name = "lofty"
version = "0.3.0"
authors = ["Serial <69764315+Serial-ATA@users.noreply.github.com>", "Tianyi <ShiTianyi2001@outlook.com>"]
edition = "2018"
license = "MIT OR Apache-2.0"
description = "Unified IO for different types of audio metadata"
repository = "https://github.com/Serial-ATA/lofty-rs"
keywords = ["tags", "audio", "metadata"]
categories = ["accessibility", "multimedia::audio"]
[dependencies]
# Ape
ape = {version = "0.3.0", optional = true, git = "https://github.com/rossnomann/rust-ape"}
# Riff
riff = {version = "1.0.1", optional = true}
# Id3
id3 = {version = "0.6.4", optional = true} # De/Encoding
filepath = { version = "0.1.1", optional = true } # wav/aiff only supports paths for some reason
# Ogg
ogg_pager = { version = "0.1.3", optional = true, git = "https://github.com/Serial-ATA/lofty-rs" }
# Mp4
mp4ameta = {version = "0.10.2", optional = true}
# Flac
metaflac = {version = "0.2.4", optional = true}
# Errors
thiserror = "1.0.25"
base64 = "0.13.0"
byteorder = "1.4.3"
lofty_attr = { git = "https://github.com/Serial-ATA/lofty-rs" }
[features]
default = ["all_tags"]
format-mp4 = ["mp4ameta"]
format-flac = ["metaflac"]
format-opus = ["ogg_pager"]
format-vorbis = ["ogg_pager"]
format-ape = ["ape"]
format-id3 = ["id3", "filepath"]
format-riff = ["riff"]
format-ogg = ["format-flac", "format-opus", "format-vorbis"]
all_tags = ["format-ogg", "format-mp4", "format-id3", "format-riff", "format-ape"]
[dev-dependencies]
criterion = { version = "0.3", features = ["html_reports"] }
[[bench]]
name = "read_from_extension"
harness = false
[[bench]]
name = "read_from_signature"
harness = false