identify files manually by magic numbers

This commit is contained in:
🪞👃🪞 2025-03-11 14:59:11 +02:00
parent 5d7c2054b3
commit 928d38bfaa
5 changed files with 154 additions and 99 deletions

13
Cargo.lock generated
View file

@ -347,6 +347,11 @@ version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "34aa73646ffb006b8f5147f3dc182bd4bcb190227ce861fc4a4844bf8e3cb2c0"
[[package]]
name = "enolib"
version = "0.5.0"
source = "git+https://codeberg.org/simonrepp/enolib-rs?tag=0.5.0#011a93092e5127c9354d643e9ac51ff592cf59f2"
[[package]]
name = "equivalent"
version = "1.0.2"
@ -662,6 +667,12 @@ dependencies = [
"windows-sys 0.59.0",
]
[[package]]
name = "opus_headers"
version = "0.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "afbb993947f111397c2bc536944f8dac7f54a4e73383d478efe1990b56404b60"
[[package]]
name = "pad"
version = "0.1.6"
@ -1054,10 +1065,12 @@ name = "taggart"
version = "0.1.0"
dependencies = [
"clap",
"enolib",
"file_type",
"hex",
"id3",
"opener",
"opus_headers",
"pad",
"tek_tui",
"unicode-width 0.2.0",