2020-10-25 14:58:50 +00:00
|
|
|
[package]
|
2021-04-03 00:47:44 +00:00
|
|
|
name = "lofty"
|
2021-06-27 18:50:27 +00:00
|
|
|
version = "0.3.0"
|
2021-04-03 00:47:44 +00:00
|
|
|
authors = ["Serial <69764315+Serial-ATA@users.noreply.github.com>", "Tianyi <ShiTianyi2001@outlook.com>"]
|
2020-10-25 14:58:50 +00:00
|
|
|
edition = "2018"
|
2021-04-03 18:56:29 +00:00
|
|
|
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"
|
2021-04-03 18:48:41 +00:00
|
|
|
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]
|
2021-04-15 17:26:06 +00:00
|
|
|
# Ape
|
2021-07-11 02:56:48 +00:00
|
|
|
ape = { git = "https://github.com/Serial-ATA/rust-ape", branch = "temporary", optional = true }
|
2021-06-21 03:24:59 +00:00
|
|
|
# Id3
|
2021-05-16 00:57:31 +00:00
|
|
|
id3 = {version = "0.6.4", optional = true} # De/Encoding
|
2021-05-25 20:44:20 +00:00
|
|
|
filepath = { version = "0.1.1", optional = true } # wav/aiff only supports paths for some reason
|
2021-04-15 17:26:06 +00:00
|
|
|
# Ogg
|
2021-06-30 05:00:40 +00:00
|
|
|
ogg_pager = { version = "0.1.6", optional = true }
|
2021-07-11 02:53:34 +00:00
|
|
|
unicase = { version = "2.6.0", optional = true }
|
2021-04-15 17:26:06 +00:00
|
|
|
# Mp4
|
2021-06-27 18:14:00 +00:00
|
|
|
mp4ameta = {version = "0.10.2", optional = true}
|
2021-04-15 17:26:06 +00:00
|
|
|
# Flac
|
2021-04-07 02:33:39 +00:00
|
|
|
metaflac = {version = "0.2.4", optional = true}
|
2021-04-15 17:26:06 +00:00
|
|
|
# Errors
|
2021-07-03 05:02:02 +00:00
|
|
|
thiserror = "1.0.26"
|
2021-05-16 06:47:26 +00:00
|
|
|
|
2021-04-24 01:15:33 +00:00
|
|
|
base64 = "0.13.0"
|
2021-04-17 19:42:06 +00:00
|
|
|
byteorder = "1.4.3"
|
2021-06-30 05:00:40 +00:00
|
|
|
cfg-if = "1.0.0"
|
2020-10-29 18:01:21 +00:00
|
|
|
|
2021-07-19 16:51:08 +00:00
|
|
|
lofty_attr = "0.1.8"
|
2021-05-19 02:21:23 +00:00
|
|
|
|
2020-10-29 18:01:21 +00:00
|
|
|
[features]
|
2021-06-27 18:42:50 +00:00
|
|
|
default = ["all_tags"]
|
2021-05-17 03:07:26 +00:00
|
|
|
format-mp4 = ["mp4ameta"]
|
|
|
|
format-flac = ["metaflac"]
|
2021-07-10 18:54:54 +00:00
|
|
|
format-opus = ["ogg_pager", "unicase"]
|
|
|
|
format-vorbis = ["ogg_pager", "unicase"]
|
2021-07-11 02:53:34 +00:00
|
|
|
format-ape = ["ape"]
|
2021-05-25 20:44:20 +00:00
|
|
|
format-id3 = ["id3", "filepath"]
|
2021-07-07 21:29:53 +00:00
|
|
|
format-aiff = []
|
2021-07-06 15:29:00 +00:00
|
|
|
format-riff = []
|
2021-05-22 20:41:05 +00:00
|
|
|
format-ogg = ["format-flac", "format-opus", "format-vorbis"]
|
2021-07-07 21:29:53 +00:00
|
|
|
all_tags = ["format-ogg", "format-mp4", "format-id3", "format-riff", "format-ape", "format-aiff"]
|
2021-04-21 17:48:21 +00:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2021-06-26 19:25:38 +00:00
|
|
|
criterion = { version = "0.3", features = ["html_reports"] }
|
2021-04-21 17:48:21 +00:00
|
|
|
|
|
|
|
[[bench]]
|
|
|
|
name = "read_from_extension"
|
|
|
|
harness = false
|
|
|
|
|
|
|
|
[[bench]]
|
|
|
|
name = "read_from_signature"
|
|
|
|
harness = false
|