lofty-rs/Cargo.toml

54 lines
1.5 KiB
TOML
Raw Normal View History

2020-10-25 14:58:50 +00:00
[package]
name = "lofty"
version = "0.3.0"
authors = ["Serial <69764315+Serial-ATA@users.noreply.github.com>", "Tianyi <ShiTianyi2001@outlook.com>"]
2020-10-25 14:58:50 +00:00
edition = "2018"
license = "MIT OR Apache-2.0"
2021-04-23 22:09:36 +00:00
description = "Unified IO for different types of audio metadata"
2021-04-04 02:56:28 +00:00
repository = "https://github.com/Serial-ATA/lofty-rs"
keywords = ["tags", "audio", "metadata"]
2021-04-23 17:37:10 +00:00
categories = ["accessibility", "multimedia::audio"]
2020-10-25 14:58:50 +00:00
[dependencies]
# 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
2021-07-19 17:13:44 +00:00
ogg_pager = { path = "ogg_pager", optional = true }
# Mp4
2021-07-20 01:01:00 +00:00
mp4ameta = {version = "0.11.0", optional = true}
# Case insensitive keys (APE/FLAC/Opus/Vorbis)
unicase = { version = "2.6.0", optional = true }
# Errors
2021-07-03 05:02:02 +00:00
thiserror = "1.0.26"
2021-04-24 01:15:33 +00:00
base64 = "0.13.0"
byteorder = "1.4.3"
cfg-if = "1.0.0"
2020-10-29 18:01:21 +00:00
2021-07-19 17:13:44 +00:00
lofty_attr = {path = "lofty-attr"}
2021-05-19 02:21:23 +00:00
2020-10-29 18:01:21 +00:00
[features]
default = ["all_tags"]
2021-05-17 03:07:26 +00:00
format-mp4 = ["mp4ameta"]
2021-07-19 17:13:44 +00:00
format-flac = ["unicase"]
format-opus = ["ogg_pager", "unicase"]
format-vorbis = ["ogg_pager", "unicase"]
format-ape = ["unicase"]
format-id3 = ["id3", "filepath"]
format-aiff = []
format-riff = []
2021-05-22 20:41:05 +00:00
format-ogg = ["format-flac", "format-opus", "format-vorbis"]
all_tags = ["format-ogg", "format-mp4", "format-id3", "format-riff", "format-ape", "format-aiff"]
[dev-dependencies]
criterion = { version = "0.3", features = ["html_reports"] }
[[bench]]
name = "read_from_extension"
harness = false
[[bench]]
name = "read_from_signature"
harness = false