perf(core): updated sdk with changed md5 library

New library uses ASM instructions which greatly improved launcher's performance (maybe ~50%!)
This commit is contained in:
Observer KRypt0n_ 2023-02-26 14:02:58 +02:00
parent 5ddbe87830
commit 38f604d211
No known key found for this signature in database
GPG key ID: 844DA47BA25FE1E2
2 changed files with 23 additions and 4 deletions

25
Cargo.lock generated
View file

@ -31,7 +31,7 @@ dependencies = [
[[package]]
name = "anime-game-core"
version = "1.3.4"
version = "1.3.5"
dependencies = [
"anyhow",
"bzip2",
@ -41,7 +41,7 @@ dependencies = [
"fs_extra",
"kinda-virtual-fs",
"lazy_static",
"md5",
"md-5",
"serde",
"serde_json",
"sysinfo",
@ -81,7 +81,7 @@ dependencies = [
"dirs",
"enum-ordinalize",
"lazy_static",
"md5",
"md-5",
"serde",
"serde_json",
"tracing",
@ -1476,12 +1476,31 @@ dependencies = [
"libc",
]
[[package]]
name = "md-5"
version = "0.10.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6365506850d44bff6e2fbcb5176cf63650e48bd45ef2fe2665ae1570e0f4b9ca"
dependencies = [
"digest",
"md5-asm",
]
[[package]]
name = "md5"
version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "490cc448043f947bae3cbee9c203358d62dbee0db12107a74be5c30ccfd09771"
[[package]]
name = "md5-asm"
version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "73b9a6f25ec11ea27e22d7fc8beafda909da44ece95f63e94f1eeb23d19bb5c7"
dependencies = [
"cc",
]
[[package]]
name = "memchr"
version = "2.5.0"

@ -1 +1 @@
Subproject commit c8b905d2637d108e1df7d898d8a8d327e30661af
Subproject commit e662699b992108c50602944647cded05df6beba9