2020-10-25 14:58:50 +00:00
|
|
|
[package]
|
2022-10-15 10:57:34 -04:00
|
|
|
name = "lofty"
|
2022-12-27 15:56:05 -05:00
|
|
|
version = "0.10.0"
|
2022-10-15 10:57:34 -04:00
|
|
|
authors = ["Serial <69764315+Serial-ATA@users.noreply.github.com>"]
|
|
|
|
edition = "2021"
|
|
|
|
license = "MIT OR Apache-2.0"
|
2021-12-23 10:15:13 -05:00
|
|
|
description = "Audio metadata library"
|
2022-10-15 10:57:34 -04:00
|
|
|
repository = "https://github.com/Serial-ATA/lofty-rs"
|
|
|
|
keywords = ["tags", "audio", "metadata", "id3", "vorbis"]
|
2022-12-27 15:56:05 -05:00
|
|
|
categories = ["multimedia::audio"]
|
2022-10-15 10:57:34 -04:00
|
|
|
readme = "README.md"
|
2022-10-30 16:58:21 -04:00
|
|
|
include = ["src", "Cargo.toml", "LICENSE-APACHE", "LICENSE-MIT", "benches", "SUPPORTED_FORMATS.md"]
|
2020-10-25 14:58:50 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2021-12-23 10:00:54 -05:00
|
|
|
# Vorbis comments pictures
|
2023-01-04 23:55:04 -05:00
|
|
|
base64 = "0.20.0"
|
2022-10-15 10:57:34 -04:00
|
|
|
byteorder = "1.4.3"
|
2022-05-13 17:10:50 -04:00
|
|
|
# TODO: rustfmt only works with cfg_if for now (https://github.com/rust-lang/rustfmt/issues/3253)
|
2022-10-15 10:57:34 -04:00
|
|
|
cfg-if = "1.0.0"
|
2022-05-13 17:10:50 -04:00
|
|
|
# ID3 compressed frames
|
2022-12-27 15:47:59 -05:00
|
|
|
flate2 = { version = "1.0.25", optional = true }
|
2022-09-30 07:05:33 -04:00
|
|
|
# Proc macros
|
2023-01-06 23:59:49 -05:00
|
|
|
lofty_attr = { path = "lofty_attr" }
|
2022-09-30 07:05:33 -04:00
|
|
|
# Debug logging
|
2022-10-15 10:57:34 -04:00
|
|
|
log = "0.4.17"
|
2021-12-23 10:00:54 -05:00
|
|
|
# OGG Vorbis/Opus
|
2022-12-27 15:47:59 -05:00
|
|
|
ogg_pager = "0.4.0"
|
2021-12-23 10:00:54 -05:00
|
|
|
# Key maps
|
2022-12-27 15:47:59 -05:00
|
|
|
once_cell = "1.16.0"
|
|
|
|
paste = "1.0.11"
|
2020-10-29 18:01:21 +00:00
|
|
|
|
|
|
|
[features]
|
2023-01-05 00:40:02 -05:00
|
|
|
default = ["id3v2_compression_support"]
|
|
|
|
id3v2_compression_support = ["flate2"]
|
2021-04-21 13:48:21 -04:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2022-01-26 23:39:15 -05:00
|
|
|
# WAV properties validity tests
|
2022-10-15 10:57:34 -04:00
|
|
|
hound = { git = "https://github.com/ruuda/hound.git", rev = "02e66effb33683dd6acb92df792683ee46ad6a59" }
|
2022-07-24 16:08:46 -04:00
|
|
|
# tag_writer example
|
|
|
|
structopt = { version = "0.3.26", default-features = false }
|
2022-10-15 10:57:34 -04:00
|
|
|
tempfile = "3.3.0"
|
2021-04-21 13:48:21 -04:00
|
|
|
|
2022-10-15 10:45:51 -04:00
|
|
|
# Pretty heavy dependency, we don't want this compiling for test/doc runs
|
|
|
|
[target.'cfg(bench)'.dev-dependencies]
|
|
|
|
criterion = { version = "0.4.0", features = ["html_reports"] }
|
|
|
|
|
2021-12-31 13:36:42 -05:00
|
|
|
[lib]
|
|
|
|
bench = false
|
|
|
|
|
2021-04-21 13:48:21 -04:00
|
|
|
[[bench]]
|
2022-10-15 10:57:34 -04:00
|
|
|
name = "read_file"
|
2021-09-02 20:22:05 -04:00
|
|
|
harness = false
|
2022-01-26 23:39:15 -05:00
|
|
|
|
|
|
|
[[bench]]
|
2022-10-15 10:57:34 -04:00
|
|
|
name = "create_tag"
|
2022-01-26 23:39:15 -05:00
|
|
|
harness = false
|
2022-02-03 21:55:36 -05:00
|
|
|
|
2022-07-24 16:08:46 -04:00
|
|
|
[[example]]
|
|
|
|
name = "custom_resolver"
|
|
|
|
path = "examples/custom_resolver/src/main.rs"
|
|
|
|
|
2022-02-03 21:55:36 -05:00
|
|
|
[package.metadata.docs.rs]
|
2022-02-04 00:59:20 -05:00
|
|
|
all-features = true
|
2022-09-24 02:34:22 -04:00
|
|
|
rustdoc-args = ["--cfg", "docsrs"]
|