mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-08-11 19:52:10 +00:00
Added content readers to the file format detection
This commit is contained in:
parent
2dc8f31b38
commit
f06452af53
@ -39,7 +39,13 @@ pbkdf2 = "0.13.0"
|
|||||||
hmac = "0.13.0"
|
hmac = "0.13.0"
|
||||||
sha2 = "0.11.0"
|
sha2 = "0.11.0"
|
||||||
rcgen = { version = "0.14.8", features = ["pem"] }
|
rcgen = { version = "0.14.8", features = ["pem"] }
|
||||||
file-format = "0.29.0"
|
|
||||||
|
# The readers are needed to identify a file by its content instead of its extension: zip covers
|
||||||
|
# OOXML and ODF, cfb the legacy Office formats, txt tells actual text from binary data, and exe
|
||||||
|
# recognizes executables which carry a harmless extension. Without them, every ZIP-based document
|
||||||
|
# is only detected as a plain archive.
|
||||||
|
file-format = { version = "0.29.0", features = ["reader-zip", "reader-cfb", "reader-txt", "reader-exe"] }
|
||||||
|
|
||||||
symphonia = { version = "0.6", default-features = false, features = ["aac", "aiff", "alac", "caf", "flac", "isomp4", "mkv", "mp1", "mp2", "mp3", "ogg", "pcm", "vorbis", "wav"] }
|
symphonia = { version = "0.6", default-features = false, features = ["aac", "aiff", "alac", "caf", "flac", "isomp4", "mkv", "mp1", "mp2", "mp3", "ogg", "pcm", "vorbis", "wav"] }
|
||||||
ropus = "=0.12.18"
|
ropus = "=0.12.18"
|
||||||
rubato = { version = "4", default-features = false, features = ["fft_resampler"] }
|
rubato = { version = "4", default-features = false, features = ["fft_resampler"] }
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user