2020-10-25 14:58:50 +00:00
|
|
|
[package]
|
2021-04-03 00:47:44 +00:00
|
|
|
name = "lofty"
|
2022-01-31 18:53:23 +00:00
|
|
|
version = "0.4.0"
|
2021-08-18 22:46:07 +00:00
|
|
|
authors = ["Serial <69764315+Serial-ATA@users.noreply.github.com>"]
|
2021-12-23 15:00:54 +00:00
|
|
|
edition = "2021"
|
2021-04-03 18:56:29 +00:00
|
|
|
license = "MIT OR Apache-2.0"
|
2021-12-23 15:15:13 +00:00
|
|
|
description = "Audio metadata library"
|
2021-04-04 02:56:28 +00:00
|
|
|
repository = "https://github.com/Serial-ATA/lofty-rs"
|
2022-01-02 22:26:30 +00:00
|
|
|
keywords = ["tags", "audio", "metadata", "id3", "vorbis"]
|
2021-04-23 17:37:10 +00:00
|
|
|
categories = ["accessibility", "multimedia::audio"]
|
2022-01-13 19:47:18 +00:00
|
|
|
readme = "README.md"
|
2022-01-24 16:26:21 +00:00
|
|
|
include = ["src", "Cargo.toml", "LICENSE-APACHE", "LICENSE-MIT", "benches"]
|
2020-10-25 14:58:50 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2021-12-23 15:00:54 +00:00
|
|
|
# ID3 compressed frames
|
2021-12-23 17:51:21 +00:00
|
|
|
flate2 = { version = "1.0.22", optional = true }
|
2021-12-23 15:00:54 +00:00
|
|
|
# Vorbis comments pictures
|
|
|
|
base64 = { version = "0.13.0", optional = true }
|
|
|
|
# OGG Vorbis/Opus
|
2022-01-26 16:53:20 +00:00
|
|
|
ogg_pager = "0.3.0"
|
2021-12-23 15:00:54 +00:00
|
|
|
# Key maps
|
2022-01-26 19:18:38 +00:00
|
|
|
once_cell = "1.9.0"
|
2021-12-23 17:51:25 +00:00
|
|
|
paste = "1.0.6"
|
2021-04-17 19:42:06 +00:00
|
|
|
byteorder = "1.4.3"
|
2022-02-12 19:33:00 +00:00
|
|
|
# TODO: rustfmt only works with cfg_if for now (https://github.com/rust-lang/rustfmt/issues/3253)
|
|
|
|
cfg-if = "1.0.0"
|
2020-10-29 18:01:21 +00:00
|
|
|
|
|
|
|
[features]
|
2021-12-05 22:02:22 +00:00
|
|
|
default = ["mp4_ilst", "vorbis_comments", "ape", "id3v1", "id3v2", "aiff_text_chunks", "riff_info_list"]
|
2021-12-11 03:09:11 +00:00
|
|
|
mp4_ilst = []
|
2021-12-23 15:00:54 +00:00
|
|
|
vorbis_comments = ["base64"]
|
2021-08-19 01:58:27 +00:00
|
|
|
ape = []
|
|
|
|
id3v1 = []
|
2021-08-25 02:54:06 +00:00
|
|
|
id3v2 = ["flate2"]
|
2021-08-29 00:11:37 +00:00
|
|
|
id3v2_restrictions = []
|
2021-08-19 01:58:27 +00:00
|
|
|
aiff_text_chunks = []
|
|
|
|
riff_info_list = []
|
2021-04-21 17:48:21 +00:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2021-09-03 00:22:05 +00:00
|
|
|
criterion = { version = "0.3.5", features = ["html_reports"] }
|
2022-01-08 20:05:05 +00:00
|
|
|
tempfile = "3.3.0"
|
2021-12-23 15:00:54 +00:00
|
|
|
# tag_writer example
|
2022-01-22 06:05:01 +00:00
|
|
|
structopt = { version = "0.3.26", default-features = false }
|
2022-01-27 04:39:15 +00:00
|
|
|
# WAV properties validity tests
|
2022-01-23 12:37:13 +00:00
|
|
|
hound = { git = "https://github.com/ruuda/hound.git", rev = "02e66effb33683dd6acb92df792683ee46ad6a59" }
|
2021-04-21 17:48:21 +00:00
|
|
|
|
2021-12-31 18:36:42 +00:00
|
|
|
[lib]
|
|
|
|
bench = false
|
|
|
|
|
2021-04-21 17:48:21 +00:00
|
|
|
[[bench]]
|
2021-08-25 03:37:32 +00:00
|
|
|
name = "read_file"
|
2021-09-03 00:22:05 +00:00
|
|
|
harness = false
|
2022-01-27 04:39:15 +00:00
|
|
|
|
|
|
|
[[bench]]
|
|
|
|
name = "create_tag"
|
|
|
|
harness = false
|
2022-02-04 02:55:36 +00:00
|
|
|
|
|
|
|
[package.metadata.docs.rs]
|
2022-02-04 05:59:20 +00:00
|
|
|
all-features = true
|
|
|
|
rustdoc-args = ["--cfg", "docsrs"]
|