mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-04-27 18:51:13 -04:00
This makes the tests finish on my machine twice as fast. This works mainly because some tests utilize pbkdf2 to derive a key from a passphrase.
24 lines
627 B
TOML
24 lines
627 B
TOML
[workspace]
|
|
members = [
|
|
"benchmarks",
|
|
"bindings/matrix-sdk-crypto-ffi",
|
|
"bindings/matrix-sdk-crypto-js",
|
|
"bindings/matrix-sdk-crypto-nodejs",
|
|
"bindings/matrix-sdk-ffi",
|
|
"crates/*",
|
|
"labs/*",
|
|
"xtask",
|
|
]
|
|
# xtask, labs and the bindings should only be built when invoked explicitly.
|
|
default-members = ["benchmarks", "crates/*"]
|
|
resolver = "2"
|
|
|
|
[profile.release]
|
|
lto = true
|
|
|
|
[profile.dev.package]
|
|
# Optimize quote even in debug mode. Speeds up proc-macros enough to account
|
|
# for the extra time of optimizing it for a clean build of matrix-sdk-ffi.
|
|
quote = { opt-level = 2 }
|
|
sha2 = { opt-level = 2 }
|