mirror of
https://github.com/serai-dex/serai.git
synced 2024-12-23 12:09:37 +00:00
56574f2f5b
* Add a cargo deny workflow Also trims out a pointless submodule checkout (we have none). * Remove no longer relevant advisories/allowances * Patch for array-bytes * Remove unused properties * Restore chrono advisory * Allow MPL-2.0, correct GPL-3.0 allowance specification * Properly ban copyleft, run on all crates * Exceptions for Serai crates (AGPL-3.0) * Remove top comments * Clarify reasoning for not checking advisories in CI * Run all checks in CI While this may bring down an unrelated commit, we can manually review, before creating a followup commit allowing it. If it's critical, then this did its job.
55 lines
1.1 KiB
TOML
55 lines
1.1 KiB
TOML
[workspace]
|
|
members = [
|
|
"common/zalloc",
|
|
|
|
"crypto/transcript",
|
|
|
|
"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",
|
|
|
|
"substrate/runtime",
|
|
"substrate/consensus",
|
|
"substrate/node",
|
|
|
|
"contracts/extension",
|
|
"contracts/multisig",
|
|
]
|
|
|
|
# Always compile Monero (and a variety of dependencies) with optimizations due
|
|
# to the unoptimized performance of 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]
|
|
# array-bytes 4.1.0 is GPL-3.0.
|
|
# array-bytes git, which has no code changes, includes a dual-license under Apache-2.0.
|
|
array-bytes = { git = "https://github.com/hack-ink/array-bytes", rev = "994cd29b66bd2ab5c8c15f0b15a1618d4bb2d94c" }
|