point the sha2 patch to the new source

this sets up ... all the rest of the drama to come in this PR.
This commit is contained in:
bunnie 2024-01-30 01:41:34 +08:00
parent f008520f06
commit 42897e4fa0

View file

@ -17,7 +17,7 @@ default-members = [
"services/shellchat",
"services/llio",
"services/codec",
"services/engine-sha512",
# "services/engine-sha512",
"services/engine-25519",
"services/aes",
"services/spinor",
@ -60,7 +60,7 @@ members = [
"services/content-plugin-api",
"services/llio",
"services/codec",
"services/engine-sha512",
# "services/engine-sha512",
"services/engine-25519",
"services/aes",
"services/spinor",
@ -135,8 +135,9 @@ incremental = true
opt-level = "s" # z,s: Optimize for size instead of performance; 1 for easier debugging; comment out for "best performance" (but in Rust 1.72 this causes regressions)
# prefer hardware-accelerated versions of services
[patch.crates-io.sha2]
path = "services/engine-sha512"
[patch.crates-io]
sha2 = { path = "../hashes/sha2", version = "0.10.8" }
sha2_legacy = { path = "../sha2-0.9", package = "sha2", version = "0.9.9" }
[patch.crates-io.aes]
path = "services/aes"