2020-10-25 14:58:50 +00:00
|
|
|
[package]
|
2021-04-03 00:47:44 +00:00
|
|
|
name = "lofty"
|
2021-04-23 17:38:21 +00:00
|
|
|
version = "0.1.1"
|
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
|
|
|
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
|
|
|
|
[dependencies]
|
2021-04-15 17:26:06 +00:00
|
|
|
# Ape
|
|
|
|
ape = {version = "0.3.0", optional = true}
|
|
|
|
# Wav
|
2021-04-17 19:42:06 +00:00
|
|
|
riff = {version = "1.0.1", optional = true}
|
2021-04-15 17:26:06 +00:00
|
|
|
# Mp3
|
2021-05-16 00:57:31 +00:00
|
|
|
id3 = {version = "0.6.4", optional = true} # De/Encoding
|
2021-04-15 17:26:06 +00:00
|
|
|
mp3-duration = {version = "0.1.10", optional = true} # Duration
|
|
|
|
# Ogg
|
|
|
|
lewton = {version = "0.10.2", optional = true} # Decoding
|
|
|
|
ogg = {version = "0.8.0", optional = true} # Encoding
|
|
|
|
# Mp4
|
2021-04-03 00:47:44 +00:00
|
|
|
mp4ameta = {version = "0.9.1", 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
|
|
|
# Opus
|
|
|
|
opus_headers = {version = "0.1.2", optional = true}
|
|
|
|
# Errors
|
2021-04-03 00:47:44 +00:00
|
|
|
thiserror = "1.0.24"
|
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-04-15 17:26:06 +00:00
|
|
|
filepath = "0.1.1"
|
2020-10-29 18:01:21 +00:00
|
|
|
|
|
|
|
[features]
|
2021-04-07 00:57:30 +00:00
|
|
|
default = ["full"]
|
|
|
|
full = ["all_tags", "duration"]
|
|
|
|
mp4 = ["mp4ameta"]
|
2021-04-21 18:22:52 +00:00
|
|
|
flac = ["metaflac"]
|
|
|
|
opus = ["opus_headers"]
|
|
|
|
vorbis = ["lewton", "ogg"]
|
|
|
|
all_tags = ["vorbis", "opus", "flac", "mp4", "id3", "riff", "ape"]
|
2021-04-21 17:48:21 +00:00
|
|
|
duration = ["mp3-duration"]
|
|
|
|
|
|
|
|
[dev-dependencies]
|
|
|
|
criterion = "0.3"
|
|
|
|
|
|
|
|
[[bench]]
|
|
|
|
name = "read_from_extension"
|
|
|
|
harness = false
|
|
|
|
|
|
|
|
[[bench]]
|
|
|
|
name = "read_from_signature"
|
|
|
|
harness = false
|