From 42897e4fa0bda0fe9767709ba46156a8cc9eba6c Mon Sep 17 00:00:00 2001 From: bunnie Date: Tue, 30 Jan 2024 01:41:34 +0800 Subject: [PATCH] point the sha2 patch to the new source this sets up ... all the rest of the drama to come in this PR. --- Cargo.toml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index cad054f25..f58006941 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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"