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/*",
|
2022-07-18 12:29:36 +00:00
|
|
|
"testing/*",
|
2022-08-02 13:06:04 +00:00
|
|
|
"examples/*",
|
2022-06-22 09:54:49 +00:00
|
|
|
"labs/*",
|
|
|
|
"xtask",
|
|
|
|
]
|
2022-08-01 11:01:50 +00:00
|
|
|
# xtask, labs, testing 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
|
|
|
|
2022-11-03 14:58:49 +00:00
|
|
|
[workspace.package]
|
|
|
|
rust-version = "1.65"
|
|
|
|
|
2022-10-17 13:33:13 +00:00
|
|
|
[workspace.dependencies]
|
2022-11-10 12:23:10 +00:00
|
|
|
ruma = { git = "https://github.com/ruma/ruma", rev = "ed100afddb5fb30f1ccf368d7e712a3a483e63bf", features = ["client-api-c"] }
|
|
|
|
ruma-common = { git = "https://github.com/ruma/ruma", rev = "ed100afddb5fb30f1ccf368d7e712a3a483e63bf" }
|
2022-10-18 11:28:28 +00:00
|
|
|
tracing = { version = "0.1.36", default-features = false, features = ["std"] }
|
2022-11-03 08:25:25 +00:00
|
|
|
uniffi = { git = "https://github.com/mozilla/uniffi-rs", rev = "779e955f21a70e4aba43a7408f1841dcdf728b32" }
|
|
|
|
uniffi_macros = { git = "https://github.com/mozilla/uniffi-rs", rev = "779e955f21a70e4aba43a7408f1841dcdf728b32" }
|
|
|
|
uniffi_bindgen = { git = "https://github.com/mozilla/uniffi-rs", rev = "779e955f21a70e4aba43a7408f1841dcdf728b32" }
|
|
|
|
uniffi_build = { git = "https://github.com/mozilla/uniffi-rs", rev = "779e955f21a70e4aba43a7408f1841dcdf728b32", features = ["builtin-bindgen"] }
|
2022-10-18 10:09:29 +00:00
|
|
|
vodozemac = "0.3.0"
|
2022-10-18 10:17:09 +00:00
|
|
|
zeroize = "1.3.0"
|
2022-10-17 13:33:13 +00:00
|
|
|
|
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
|
|
|
|
2022-06-03 15:10:15 +00:00
|
|
|
[profile.dev]
|
|
|
|
# Copied from rust-analyzer. Saves a lot of disk space and hopefully
|
|
|
|
# compilation time / mem usage too, at the expense of potentially having to
|
|
|
|
# change this setting here when you want to use a debugger.
|
|
|
|
debug = 0
|
|
|
|
|
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 }
|