refactor: apk-parser crate

This commit is contained in:
2025-02-14 15:56:12 +00:00
parent 3df55189ad
commit c0b7312aae
9 changed files with 1409 additions and 415 deletions

20
Cargo.lock generated
View File

@ -124,6 +124,17 @@ dependencies = [
"zip",
]
[[package]]
name = "apk-parser"
version = "0.1.0"
dependencies = [
"anyhow",
"apk",
"byteorder",
"hex",
"log",
]
[[package]]
name = "arraydeque"
version = "0.5.1"
@ -978,6 +989,12 @@ version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
[[package]]
name = "hex"
version = "0.4.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70"
[[package]]
name = "hex-conservative"
version = "0.1.2"
@ -1463,9 +1480,8 @@ name = "nap"
version = "0.1.0"
dependencies = [
"anyhow",
"apk",
"apk-parser",
"async-trait",
"byteorder",
"clap",
"config",
"dialoguer",