point to the online versions of the sha branches

This commit is contained in:
bunnie 2024-02-01 01:12:59 +08:00
parent 3598cff50b
commit d33f7e8cd1

View file

@ -136,8 +136,8 @@ opt-level = "s" # z,s: Optimize for size instead of performance; 1 for easier de
# prefer hardware-accelerated versions of services
[patch.crates-io]
sha2 = { path = "../hashes/sha2", version = "0.10.8" }
sha2_legacy = { path = "../sha2-0.9", package = "sha2", version = "0.9.9" }
sha2 = { git = "https://github.com/betrusted-io/hashes.git", branch = "sha2-v0.10.8-xous" }
sha2_legacy = { git = "https://github.com/RustCrypto/hashes.git", tag = "sha2-v0.9.9", package = "sha2" }
[patch.crates-io.aes]
path = "services/aes"