2020-10-25 14:58:50 +00:00
|
|
|
[package]
|
2022-10-15 14:57:34 +00:00
|
|
|
name = "lofty"
|
2024-01-20 16:40:23 +00:00
|
|
|
version = "0.18.1"
|
2022-10-15 14:57:34 +00:00
|
|
|
authors = ["Serial <69764315+Serial-ATA@users.noreply.github.com>"]
|
|
|
|
edition = "2021"
|
|
|
|
license = "MIT OR Apache-2.0"
|
2021-12-23 15:15:13 +00:00
|
|
|
description = "Audio metadata library"
|
2022-10-15 14:57:34 +00:00
|
|
|
repository = "https://github.com/Serial-ATA/lofty-rs"
|
|
|
|
keywords = ["tags", "audio", "metadata", "id3", "vorbis"]
|
2023-06-08 18:15:43 +00:00
|
|
|
categories = ["multimedia", "multimedia::audio", "parser-implementations"]
|
2022-10-15 14:57:34 +00:00
|
|
|
readme = "README.md"
|
2023-11-15 17:02:09 +00:00
|
|
|
include = ["src", "Cargo.toml", "LICENSE-APACHE", "LICENSE-MIT", "SUPPORTED_FORMATS.md"]
|
2020-10-25 14:58:50 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2021-12-23 15:00:54 +00:00
|
|
|
# Vorbis comments pictures
|
2023-12-22 10:06:29 +00:00
|
|
|
data-encoding = "2.5.0"
|
|
|
|
byteorder = "1.5.0"
|
2022-05-13 21:10:50 +00:00
|
|
|
# ID3 compressed frames
|
2023-12-22 10:06:29 +00:00
|
|
|
flate2 = { version = "1.0.28", optional = true }
|
2022-09-30 11:05:33 +00:00
|
|
|
# Proc macros
|
2024-01-20 16:40:23 +00:00
|
|
|
lofty_attr = "0.9.0"
|
2022-09-30 11:05:33 +00:00
|
|
|
# Debug logging
|
2023-12-22 10:06:29 +00:00
|
|
|
log = "0.4.20"
|
2021-12-23 15:00:54 +00:00
|
|
|
# OGG Vorbis/Opus
|
2024-01-12 13:01:35 +00:00
|
|
|
ogg_pager = "0.6.0"
|
2021-12-23 15:00:54 +00:00
|
|
|
# Key maps
|
2023-12-22 10:06:29 +00:00
|
|
|
paste = "1.0.14"
|
2020-10-29 18:01:21 +00:00
|
|
|
|
|
|
|
[features]
|
2023-01-05 05:40:02 +00:00
|
|
|
default = ["id3v2_compression_support"]
|
2023-06-08 18:32:09 +00:00
|
|
|
id3v2_compression_support = ["dep:flate2"]
|
2021-04-21 17:48:21 +00:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2022-01-27 04:39:15 +00:00
|
|
|
# WAV properties validity tests
|
2022-10-15 14:57:34 +00:00
|
|
|
hound = { git = "https://github.com/ruuda/hound.git", rev = "02e66effb33683dd6acb92df792683ee46ad6a59" }
|
2022-07-24 20:08:46 +00:00
|
|
|
# tag_writer example
|
|
|
|
structopt = { version = "0.3.26", default-features = false }
|
2024-01-12 13:01:35 +00:00
|
|
|
tempfile = "3.9.0"
|
2021-04-21 17:48:21 +00:00
|
|
|
|
2022-10-15 14:45:51 +00:00
|
|
|
# Pretty heavy dependency, we don't want this compiling for test/doc runs
|
|
|
|
[target.'cfg(bench)'.dev-dependencies]
|
2023-05-29 14:57:50 +00:00
|
|
|
criterion = { version = "0.5.1", features = ["html_reports"] }
|
2022-10-15 14:45:51 +00:00
|
|
|
|
2021-12-31 18:36:42 +00:00
|
|
|
[lib]
|
|
|
|
bench = false
|
|
|
|
|
2021-04-21 17:48:21 +00:00
|
|
|
[[bench]]
|
2022-10-15 14:57:34 +00:00
|
|
|
name = "read_file"
|
2023-11-15 17:02:09 +00:00
|
|
|
path = "benches/read_file.rs"
|
2021-09-03 00:22:05 +00:00
|
|
|
harness = false
|
2022-01-27 04:39:15 +00:00
|
|
|
|
|
|
|
[[bench]]
|
2022-10-15 14:57:34 +00:00
|
|
|
name = "create_tag"
|
2023-11-15 17:02:09 +00:00
|
|
|
path = "benches/create_tag.rs"
|
2022-01-27 04:39:15 +00:00
|
|
|
harness = false
|
2022-02-04 02:55:36 +00:00
|
|
|
|
2022-07-24 20:08:46 +00:00
|
|
|
[[example]]
|
|
|
|
name = "custom_resolver"
|
|
|
|
path = "examples/custom_resolver/src/main.rs"
|
|
|
|
|
2022-02-04 02:55:36 +00:00
|
|
|
[package.metadata.docs.rs]
|
2022-02-04 05:59:20 +00:00
|
|
|
all-features = true
|
2022-09-24 06:34:22 +00:00
|
|
|
rustdoc-args = ["--cfg", "docsrs"]
|