mirror of
https://github.com/Serial-ATA/lofty-rs
synced 2024-11-10 06:34:18 +00:00
Misc: Make Cargo.toml nicer to look at
This commit is contained in:
parent
6562166eb4
commit
8df3c01aa3
1 changed files with 30 additions and 30 deletions
60
Cargo.toml
60
Cargo.toml
|
@ -1,51 +1,51 @@
|
||||||
[package]
|
[package]
|
||||||
name = "lofty"
|
name = "lofty"
|
||||||
version = "0.8.1"
|
version = "0.8.1"
|
||||||
authors = ["Serial <69764315+Serial-ATA@users.noreply.github.com>"]
|
authors = ["Serial <69764315+Serial-ATA@users.noreply.github.com>"]
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
license = "MIT OR Apache-2.0"
|
license = "MIT OR Apache-2.0"
|
||||||
description = "Audio metadata library"
|
description = "Audio metadata library"
|
||||||
repository = "https://github.com/Serial-ATA/lofty-rs"
|
repository = "https://github.com/Serial-ATA/lofty-rs"
|
||||||
keywords = ["tags", "audio", "metadata", "id3", "vorbis"]
|
keywords = ["tags", "audio", "metadata", "id3", "vorbis"]
|
||||||
categories = ["accessibility", "multimedia::audio"]
|
categories = ["accessibility", "multimedia::audio"]
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
include = ["src", "Cargo.toml", "LICENSE-APACHE", "LICENSE-MIT", "benches"]
|
include = ["src", "Cargo.toml", "LICENSE-APACHE", "LICENSE-MIT", "benches"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
# Vorbis comments pictures
|
# Vorbis comments pictures
|
||||||
base64 = { version = "0.13.0", optional = true }
|
base64 = { version = "0.13.0", optional = true }
|
||||||
byteorder = "1.4.3"
|
byteorder = "1.4.3"
|
||||||
# TODO: rustfmt only works with cfg_if for now (https://github.com/rust-lang/rustfmt/issues/3253)
|
# TODO: rustfmt only works with cfg_if for now (https://github.com/rust-lang/rustfmt/issues/3253)
|
||||||
cfg-if = "1.0.0"
|
cfg-if = "1.0.0"
|
||||||
# ID3 compressed frames
|
# ID3 compressed frames
|
||||||
flate2 = { version = "1.0.24", optional = true }
|
flate2 = { version = "1.0.24", optional = true }
|
||||||
# Proc macros
|
# Proc macros
|
||||||
lofty_attr = { path = "lofty_attr" }
|
lofty_attr = { path = "lofty_attr" }
|
||||||
# Debug logging
|
# Debug logging
|
||||||
log = "0.4.17"
|
log = "0.4.17"
|
||||||
# OGG Vorbis/Opus
|
# OGG Vorbis/Opus
|
||||||
ogg_pager = "0.3.2"
|
ogg_pager = "0.3.2"
|
||||||
# Key maps
|
# Key maps
|
||||||
once_cell = "1.13.0"
|
once_cell = "1.13.0"
|
||||||
paste = "1.0.7"
|
paste = "1.0.7"
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["mp4_ilst", "vorbis_comments", "ape", "id3v1", "id3v2", "aiff_text_chunks", "riff_info_list"]
|
default = ["mp4_ilst", "vorbis_comments", "ape", "id3v1", "id3v2", "aiff_text_chunks", "riff_info_list"]
|
||||||
mp4_ilst = []
|
mp4_ilst = []
|
||||||
vorbis_comments = ["base64"]
|
vorbis_comments = ["base64"]
|
||||||
ape = []
|
ape = []
|
||||||
id3v1 = []
|
id3v1 = []
|
||||||
id3v2 = ["flate2"]
|
id3v2 = ["flate2"]
|
||||||
id3v2_restrictions = []
|
id3v2_restrictions = []
|
||||||
aiff_text_chunks = []
|
aiff_text_chunks = []
|
||||||
riff_info_list = []
|
riff_info_list = []
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
# WAV properties validity tests
|
# WAV properties validity tests
|
||||||
hound = { git = "https://github.com/ruuda/hound.git", rev = "02e66effb33683dd6acb92df792683ee46ad6a59" }
|
hound = { git = "https://github.com/ruuda/hound.git", rev = "02e66effb33683dd6acb92df792683ee46ad6a59" }
|
||||||
# tag_writer example
|
# tag_writer example
|
||||||
structopt = { version = "0.3.26", default-features = false }
|
structopt = { version = "0.3.26", default-features = false }
|
||||||
tempfile = "3.3.0"
|
tempfile = "3.3.0"
|
||||||
|
|
||||||
# Pretty heavy dependency, we don't want this compiling for test/doc runs
|
# Pretty heavy dependency, we don't want this compiling for test/doc runs
|
||||||
[target.'cfg(bench)'.dev-dependencies]
|
[target.'cfg(bench)'.dev-dependencies]
|
||||||
|
@ -55,11 +55,11 @@ criterion = { version = "0.4.0", features = ["html_reports"] }
|
||||||
bench = false
|
bench = false
|
||||||
|
|
||||||
[[bench]]
|
[[bench]]
|
||||||
name = "read_file"
|
name = "read_file"
|
||||||
harness = false
|
harness = false
|
||||||
|
|
||||||
[[bench]]
|
[[bench]]
|
||||||
name = "create_tag"
|
name = "create_tag"
|
||||||
harness = false
|
harness = false
|
||||||
|
|
||||||
[[example]]
|
[[example]]
|
||||||
|
|
Loading…
Reference in a new issue