chore(deps): 移除占位 crate 中零引用的依赖

bat-patch 的 bsdiff/json-patch、bat-assetbundle 的 byteorder/lz4/lzma-rs 在
源码中完全未使用,占位阶段白增编译负担。移除并留注释说明待对应引擎/解析器真正
实现时再按需引入。

对应 issue #18 维护清单 3-6。

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
2026-07-16 09:12:40 -07:00
co-authored by Claude Fable 5
parent 48ffc08cdf
commit fd86eafebd
3 changed files with 4 additions and 43 deletions
Generated
-33
View File
@@ -86,10 +86,7 @@ name = "bat-assetbundle"
version = "0.1.0"
dependencies = [
"anyhow",
"byteorder",
"hex",
"lz4",
"lzma-rs",
"serde",
"serde_json",
"thiserror",
@@ -164,8 +161,6 @@ version = "0.1.0"
dependencies = [
"anyhow",
"blake3",
"bsdiff",
"json-patch",
"serde",
"serde_json",
"tempfile",
@@ -204,12 +199,6 @@ dependencies = [
"generic-array",
]
[[package]]
name = "bsdiff"
version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b6709158fe6ca66c1f32eb27b4ae5997c67b0df350ae185831233af3e7a91213"
[[package]]
name = "byteorder"
version = "1.5.0"
@@ -729,28 +718,6 @@ version = "1.0.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682"
[[package]]
name = "json-patch"
version = "4.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7421438de105a0827e44fadd05377727847d717c80ce29a229f85fd04c427b72"
dependencies = [
"jsonptr",
"serde",
"serde_json",
"thiserror",
]
[[package]]
name = "jsonptr"
version = "0.7.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a5a3cc660ba5d72bce0b3bb295bf20847ccbb40fd423f3f05b61273672e561fe"
dependencies = [
"serde",
"serde_json",
]
[[package]]
name = "lazy_static"
version = "1.5.0"