diff options
| author | Kamen Mladenov <kamen@syndamia.com> | 2025-04-14 13:23:49 +0300 |
|---|---|---|
| committer | Kamen Mladenov <kamen@syndamia.com> | 2025-04-14 13:40:57 +0300 |
| commit | b4841b1479bf6be5958a850083052badc4c027fa (patch) | |
| tree | ff800c1cd6fd3803b6b68b4855801e3391c225e3 /guests/keccak/Cargo.toml | |
| parent | c87a637465126176ae361e0b9ce7893e279e86ce (diff) | |
| download | zkVMs-benchmarks-b4841b1479bf6be5958a850083052badc4c027fa.tar zkVMs-benchmarks-b4841b1479bf6be5958a850083052badc4c027fa.tar.gz zkVMs-benchmarks-b4841b1479bf6be5958a850083052badc4c027fa.zip | |
feat(guests/keccak): Add SP1 and RISC0 precompile usage
Diffstat (limited to 'guests/keccak/Cargo.toml')
| -rw-r--r-- | guests/keccak/Cargo.toml | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/guests/keccak/Cargo.toml b/guests/keccak/Cargo.toml index beaa70e..aaf3d2a 100644 --- a/guests/keccak/Cargo.toml +++ b/guests/keccak/Cargo.toml @@ -8,11 +8,14 @@ guests_macro = { version = "0.1.0", path = "../../guests_macro" } sha3 = { version = "0.10.8", default-features = false } zkm-runtime = { git = "https://github.com/zkMIPS/zkm.git", optional = true } # patched by the guest wrapper +sha3-sp1 = { git = "https://github.com/sp1-patches/RustCrypto-hashes", package = "sha3", tag = "patch-sha3-0.10.8-sp1-4.0.0", optional = true } +sha3-risc0 = { git = "https://github.com/risc0/RustCrypto-hashes", package = "sha3", tag = "sha3-v0.10.6", optional = true } + [features] no_std = [] jolt = [] nexus = [] -risc0 = [] -sp1 = [] +risc0 = ["sha3-risc0"] +sp1 = ["sha3-sp1"] zkm = ["zkm-runtime"] zkwasm = [] |
