more work getting mkfrogfs working

Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
Sean Cross 2023-11-21 08:42:05 +08:00
parent bcab1fe755
commit f9edaa7fff
3 changed files with 44 additions and 3 deletions

40
Cargo.lock generated
View File

@ -260,7 +260,16 @@ version = "2.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "49fc9a695bca7f35f5f4c15cddc84415f66a74ea78eef08e90c5024f2b540e23"
dependencies = [
"crc-catalog",
"crc-catalog 1.1.1",
]
[[package]]
name = "crc"
version = "3.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "86ec7a15cbe22e59248fc7eadb1907dab5ba09372595da4d73dd805ed4417dfe"
dependencies = [
"crc-catalog 2.4.0",
]
[[package]]
@ -269,6 +278,21 @@ version = "1.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ccaeedb56da03b09f598226e25e80088cb4cd25f316e6e4df7d695f0feeb1403"
[[package]]
name = "crc-catalog"
version = "2.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "19d374276b40fb8bbdee95aef7c7fa6b5316ec764510eb64b8dd0e2ed0d7e7f5"
[[package]]
name = "crc32fast"
version = "1.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b540bd8bc810d3885c6ea91e2018302f68baba2129ab3e88f32389ee9370880d"
dependencies = [
"cfg-if",
]
[[package]]
name = "crossbeam-deque"
version = "0.8.3"
@ -393,6 +417,16 @@ version = "0.4.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80"
[[package]]
name = "flate2"
version = "1.0.28"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "46303f565772937ffe1d394a4fac6f411c6013172fadde9dcdb1e147a086940e"
dependencies = [
"crc32fast",
"miniz_oxide",
]
[[package]]
name = "form_urlencoded"
version = "1.2.0"
@ -407,6 +441,8 @@ name = "frogr"
version = "0.1.0"
dependencies = [
"anyhow",
"crc 3.0.1",
"flate2",
"heatshrink",
"minify-html",
"swc",
@ -1497,7 +1533,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5023d44d6b77d8ad682a7405d0ad63008c7474b3adaee73f07cb9b6b9e6bd1bf"
dependencies = [
"anyhow",
"crc",
"crc 2.1.0",
"indexmap 1.9.3",
"is-macro",
"once_cell",

View File

@ -3,10 +3,15 @@ name = "frogr"
version = "0.1.0"
edition = "2021"
[[bin]]
name = "mkfrogfs"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
anyhow = "1"
crc = "3.0.1"
flate2 = "1.0.28"
heatshrink = "0.2"
minify-html = "0.11.1"

View File

@ -191,4 +191,4 @@ def main():
f.write(binary)
if __name__ == '__main__':
main()
main()