19 lines
739 B
TOML
19 lines
739 B
TOML
|
[workspace]
|
||
|
resolver = "2"
|
||
|
members = [ "common","host", "methods"]
|
||
|
|
||
|
# Always optimize; building and running the guest takes much longer without optimization.
|
||
|
[profile.dev]
|
||
|
opt-level = 3
|
||
|
|
||
|
[profile.release]
|
||
|
debug = 1
|
||
|
lto = true
|
||
|
|
||
|
[patch.crates-io]
|
||
|
# Placing these patch statement in the workspace Cargo.toml will add RISC Zero SHA-256 and bigint
|
||
|
# multiplication accelerator support for all downstream usages of the following crates.
|
||
|
#sha2 = { git = "https://github.com/risc0/RustCrypto-hashes", tag = "sha2-v0.10.8-risczero.0" }
|
||
|
#k256 = { git = "https://github.com/risc0/RustCrypto-elliptic-curves", tag = "k256/v0.13.3-risczero.0" }
|
||
|
#crypto-bigint = { git = "https://github.com/risc0/RustCrypto-crypto-bigint", tag = "v0.5.5-risczero.0" }
|