Upgrade some components to symphonia v0.5

This commit is contained in:
NGnius (Graham) 2022-02-03 16:56:17 -05:00
parent fb21edd7a4
commit 1dedc29715
3 changed files with 172 additions and 39 deletions

205
Cargo.lock generated
View file

@ -148,7 +148,7 @@ dependencies = [
"serde_json",
"strum",
"strum_macros",
"symphonia",
"symphonia 0.5.0",
"thiserror",
]
@ -1137,7 +1137,7 @@ dependencies = [
"regex 1.5.4",
"rusqlite",
"shellexpand",
"symphonia",
"symphonia 0.5.0",
]
[[package]]
@ -1826,7 +1826,7 @@ dependencies = [
"hound",
"lewton",
"minimp3",
"symphonia",
"symphonia 0.4.0",
]
[[package]]
@ -2015,16 +2015,34 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a7e5f38aa07e792f4eebb0faa93cee088ec82c48222dd332897aae1569d9a4b7"
dependencies = [
"lazy_static 1.4.0",
"symphonia-bundle-flac",
"symphonia-bundle-flac 0.4.0",
"symphonia-codec-pcm 0.4.0",
"symphonia-codec-vorbis 0.4.0",
"symphonia-core 0.4.0",
"symphonia-format-ogg 0.4.0",
"symphonia-format-wav 0.4.1",
"symphonia-metadata 0.4.0",
]
[[package]]
name = "symphonia"
version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "eb30457ee7a904dae1e4ace25156dcabaf71e425db318e7885267f09cd8fb648"
dependencies = [
"lazy_static 1.4.0",
"symphonia-bundle-flac 0.5.0",
"symphonia-bundle-mp3",
"symphonia-codec-aac",
"symphonia-codec-pcm",
"symphonia-codec-vorbis",
"symphonia-core",
"symphonia-codec-alac",
"symphonia-codec-pcm 0.5.0",
"symphonia-codec-vorbis 0.5.0",
"symphonia-core 0.5.0",
"symphonia-format-isomp4",
"symphonia-format-ogg",
"symphonia-format-wav",
"symphonia-metadata",
"symphonia-format-mkv",
"symphonia-format-ogg 0.5.0",
"symphonia-format-wav 0.5.0",
"symphonia-metadata 0.5.0",
]
[[package]]
@ -2034,33 +2052,55 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "116e5412f5fb4e5d07efd6628d50d6fcd7a61ebef43d98f5012f3cf763b25d02"
dependencies = [
"log",
"symphonia-core",
"symphonia-metadata",
"symphonia-utils-xiph",
"symphonia-core 0.4.0",
"symphonia-metadata 0.4.0",
"symphonia-utils-xiph 0.4.0",
]
[[package]]
name = "symphonia-bundle-flac"
version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f34f8f90825ee2692df0ee64981312267d6cf640358c3db7a4805d1805340665"
dependencies = [
"log",
"symphonia-core 0.5.0",
"symphonia-metadata 0.5.0",
"symphonia-utils-xiph 0.5.0",
]
[[package]]
name = "symphonia-bundle-mp3"
version = "0.4.0"
version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ec4d97c4a61ece4651751dddb393ebecb7579169d9e758ae808fe507a5250790"
checksum = "9130cae661447f234b58759d74d23500e9c95697b698589b34196cb0fb488a61"
dependencies = [
"bitflags",
"lazy_static 1.4.0",
"log",
"symphonia-core",
"symphonia-metadata",
"symphonia-core 0.5.0",
"symphonia-metadata 0.5.0",
]
[[package]]
name = "symphonia-codec-aac"
version = "0.4.0"
version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bd3d7ab37eb9b7df16ddedd7adb7cc382afe708ff078e525a14dc9b05e57558f"
checksum = "96671dbcf83a4415e899812c5820dd26f48b9a6fece8b8d680e3004553080468"
dependencies = [
"lazy_static 1.4.0",
"log",
"symphonia-core",
"symphonia-core 0.5.0",
]
[[package]]
name = "symphonia-codec-alac"
version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a95d0cc9d94c55d9467e71e26990e509bd5a602fabde3ee422d87f77bbda860a"
dependencies = [
"log",
"symphonia-core 0.5.0",
]
[[package]]
@ -2070,7 +2110,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ba1d54738758993546107e3a4be2c1da827f2d4489fcffee0fa47867254e44c7"
dependencies = [
"log",
"symphonia-core",
"symphonia-core 0.4.0",
]
[[package]]
name = "symphonia-codec-pcm"
version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0812a197602dff1f963ff212f174c4aa4d9b695d6511ba7a8fe2470296cf8310"
dependencies = [
"log",
"symphonia-core 0.5.0",
]
[[package]]
@ -2080,8 +2130,19 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a29ed6748078effb35a05064a451493a78038918981dc1a76bdf5a2752d441fa"
dependencies = [
"log",
"symphonia-core",
"symphonia-utils-xiph",
"symphonia-core 0.4.0",
"symphonia-utils-xiph 0.4.0",
]
[[package]]
name = "symphonia-codec-vorbis"
version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "746fc459966b37e277565f9632e5ffd6cbd83d9381152727123f68484cb8f9c4"
dependencies = [
"log",
"symphonia-core 0.5.0",
"symphonia-utils-xiph 0.5.0",
]
[[package]]
@ -2098,15 +2159,42 @@ dependencies = [
]
[[package]]
name = "symphonia-format-isomp4"
version = "0.4.0"
name = "symphonia-core"
version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "feee3a7711e7ec1b7540756f3868bbb3cbb0d1195569b9bc26471a24a02f57b5"
checksum = "1edcb254d25e02b688b6f8a290a778153fa5f29674ac50773d03e0a16060391d"
dependencies = [
"arrayvec",
"bitflags",
"bytemuck",
"lazy_static 1.4.0",
"log",
]
[[package]]
name = "symphonia-format-isomp4"
version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2a335816c1840bf3ce92b968a93b7b5c14a5d74737ad9ed63567ea451eac1951"
dependencies = [
"encoding_rs",
"log",
"symphonia-core",
"symphonia-metadata",
"symphonia-core 0.5.0",
"symphonia-metadata 0.5.0",
"symphonia-utils-xiph 0.5.0",
]
[[package]]
name = "symphonia-format-mkv"
version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "901a52e62285b3794a3ecb9b8a00b1d92d639e0dabf51eac0823a16493752726"
dependencies = [
"lazy_static 1.4.0",
"log",
"symphonia-core 0.5.0",
"symphonia-metadata 0.5.0",
"symphonia-utils-xiph 0.5.0",
]
[[package]]
@ -2116,9 +2204,21 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d7b2357288a79adfec532cfd86049696cfa5c58efeff83bd51687a528f18a519"
dependencies = [
"log",
"symphonia-core",
"symphonia-metadata",
"symphonia-utils-xiph",
"symphonia-core 0.4.0",
"symphonia-metadata 0.4.0",
"symphonia-utils-xiph 0.4.0",
]
[[package]]
name = "symphonia-format-ogg"
version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "00f5b92a2a6370873d9dbe3326dad1bf795b3151efcadca6e5f47d732499a518"
dependencies = [
"log",
"symphonia-core 0.5.0",
"symphonia-metadata 0.5.0",
"symphonia-utils-xiph 0.5.0",
]
[[package]]
@ -2128,8 +2228,19 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6d9fa5e5b420dea6763ba2547887eb1a02a142c676c5b02ed1b113a247101dad"
dependencies = [
"log",
"symphonia-core",
"symphonia-metadata",
"symphonia-core 0.4.0",
"symphonia-metadata 0.4.0",
]
[[package]]
name = "symphonia-format-wav"
version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "66b2016576a9f7e5e95f9354993116458170a9077845a908ee67a4c81e8072c0"
dependencies = [
"log",
"symphonia-core 0.5.0",
"symphonia-metadata 0.5.0",
]
[[package]]
@ -2141,7 +2252,19 @@ dependencies = [
"encoding_rs",
"lazy_static 1.4.0",
"log",
"symphonia-core",
"symphonia-core 0.4.0",
]
[[package]]
name = "symphonia-metadata"
version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f04ee665c99fd2b919b87261c86a5312e996b720ca142646a163d9583e72bd0e"
dependencies = [
"encoding_rs",
"lazy_static 1.4.0",
"log",
"symphonia-core 0.5.0",
]
[[package]]
@ -2150,8 +2273,18 @@ version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6a37026c6948ff842e0bf94b4008579cc71ab16ed0ff9ca70a331f60f4f1e1e9"
dependencies = [
"symphonia-core",
"symphonia-metadata",
"symphonia-core 0.4.0",
"symphonia-metadata 0.4.0",
]
[[package]]
name = "symphonia-utils-xiph"
version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "abadfa53359fa437836f2554a0019dd06bfdf742fbb735d0645db3b6c5a763e0"
dependencies = [
"symphonia-core 0.5.0",
"symphonia-metadata 0.5.0",
]
[[package]]

@ -1 +1 @@
Subproject commit 637cf29d556bc44b6f7d8aa78430f02759560a63
Subproject commit 1f101b5975f923d3a13a9d122c0f19a91e6d0b82

View file

@ -7,8 +7,8 @@ readme = "README.md"
[dependencies]
rusqlite = { version = "0.26.3", features = ["bundled"] }
symphonia = { version = "0.4.0", optional = true, features = [
"aac", "flac", "mp3", "pcm", "vorbis", "isomp4", "ogg", "wav"
symphonia = { version = "0.5.0", optional = true, features = [
"aac", "alac", "flac", "mp3", "pcm", "vorbis", "isomp4", "ogg", "wav"
] }
dirs = { version = "4.0.0" }
regex = { version = "1" }