2020-04-29 07:48:00 +00:00
|
|
|
[workspace]
|
2022-06-22 09:54:49 +00:00
|
|
|
members = [
|
|
|
|
"benchmarks",
|
2022-06-23 09:31:59 +00:00
|
|
|
"bindings/matrix-sdk-crypto-ffi",
|
2022-06-22 09:54:49 +00:00
|
|
|
"bindings/matrix-sdk-crypto-js",
|
|
|
|
"bindings/matrix-sdk-crypto-nodejs",
|
2022-06-23 09:31:59 +00:00
|
|
|
"bindings/matrix-sdk-ffi",
|
2022-06-22 09:54:49 +00:00
|
|
|
"crates/*",
|
|
|
|
"labs/*",
|
|
|
|
"xtask",
|
|
|
|
]
|
2022-06-22 14:03:02 +00:00
|
|
|
# xtask, labs and the bindings should only be built when invoked explicitly.
|
2022-03-31 09:26:58 +00:00
|
|
|
default-members = ["benchmarks", "crates/*"]
|
2022-05-17 08:24:28 +00:00
|
|
|
resolver = "2"
|
2022-05-09 11:23:16 +00:00
|
|
|
|
|
|
|
[profile.release]
|
2022-05-31 08:06:35 +00:00
|
|
|
lto = true
|
2022-06-01 11:44:11 +00:00
|
|
|
|
|
|
|
[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 }
|
2022-07-08 14:23:47 +00:00
|
|
|
sha2 = { opt-level = 2 }
|