serai/Cargo.toml
2023-04-08 04:44:28 -04:00

66 lines
1.4 KiB
TOML

[workspace]
members = [
"common/zalloc",
"crypto/transcript",
"crypto/ff-group-tests",
"crypto/dalek-ff-group",
"crypto/ed448",
"crypto/ciphersuite",
"crypto/multiexp",
"crypto/schnorr",
"crypto/dleq",
"crypto/dkg",
"crypto/frost",
"coins/ethereum",
"coins/monero/generators",
"coins/monero",
"processor/messages",
"processor",
"tendermint",
"substrate/primitives",
"substrate/client",
"substrate/tokens/primitives",
"substrate/tokens/pallet",
"substrate/in-instructions/primitives",
"substrate/in-instructions/pallet",
"substrate/validator-sets/primitives",
"substrate/validator-sets/pallet",
"substrate/runtime",
"substrate/node",
]
# Always compile Monero (and a variety of dependencies) with optimizations due
# to the extensive operations required for Bulletproofs
[profile.dev.package]
subtle = { opt-level = 3 }
curve25519-dalek = { opt-level = 3 }
ff = { opt-level = 3 }
group = { opt-level = 3 }
crypto-bigint = { opt-level = 3 }
dalek-ff-group = { opt-level = 3 }
minimal-ed448 = { opt-level = 3 }
multiexp = { opt-level = 3 }
monero-serai = { opt-level = 3 }
[profile.release]
panic = "unwind"
[patch.crates-io]
k256 = { git = "https://github.com/RustCrypto/elliptic-curves", rev = "8958c2f535cc973a7cf216bcbad1f797ae6f9cdd" }
p256 = { git = "https://github.com/RustCrypto/elliptic-curves", rev = "8958c2f535cc973a7cf216bcbad1f797ae6f9cdd" }