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",
|
|
|
|
"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/*",
|
2024-01-13 00:58:36 +00:00
|
|
|
"labs/*",
|
2023-02-01 10:22:28 +00:00
|
|
|
"uniffi-bindgen",
|
2022-06-22 09:54:49 +00:00
|
|
|
"xtask",
|
|
|
|
]
|
2023-07-05 08:51:54 +00:00
|
|
|
# xtask, testing and the bindings should only be built when invoked explicitly.
|
2024-01-13 00:58:36 +00:00
|
|
|
default-members = ["benchmarks", "crates/*", "labs/*"]
|
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]
|
2023-06-07 13:10:44 +00:00
|
|
|
rust-version = "1.70"
|
2022-11-03 14:58:49 +00:00
|
|
|
|
2022-10-17 13:33:13 +00:00
|
|
|
[workspace.dependencies]
|
2022-12-19 16:20:56 +00:00
|
|
|
anyhow = "1.0.68"
|
2023-08-31 08:15:36 +00:00
|
|
|
assert-json-diff = "2"
|
2023-03-30 13:54:31 +00:00
|
|
|
assert_matches = "1.5.0"
|
2023-10-25 08:56:52 +00:00
|
|
|
assert_matches2 = "0.1.1"
|
2023-08-01 13:23:42 +00:00
|
|
|
async-rx = "0.1.3"
|
2022-12-19 16:20:56 +00:00
|
|
|
async-stream = "0.3.3"
|
|
|
|
async-trait = "0.1.60"
|
2023-09-13 15:07:51 +00:00
|
|
|
as_variant = "1.2.0"
|
2023-02-08 14:12:09 +00:00
|
|
|
base64 = "0.21.0"
|
2022-12-19 16:20:56 +00:00
|
|
|
byteorder = "1.4.3"
|
2023-09-21 16:41:16 +00:00
|
|
|
eyeball = { version = "0.8.7", features = ["tracing"] }
|
2023-09-18 16:03:12 +00:00
|
|
|
eyeball-im = { version = "0.4.1", features = ["tracing"] }
|
2023-09-19 09:14:32 +00:00
|
|
|
eyeball-im-util = "0.5.1"
|
2023-05-17 10:41:09 +00:00
|
|
|
futures-core = "0.3.28"
|
2023-05-17 11:19:35 +00:00
|
|
|
futures-executor = "0.3.21"
|
2023-03-08 13:53:13 +00:00
|
|
|
futures-util = { version = "0.3.26", default-features = false, features = ["alloc"] }
|
2022-12-19 16:20:56 +00:00
|
|
|
http = "0.2.6"
|
2024-02-26 18:29:18 +00:00
|
|
|
imbl = "2.0.0"
|
2023-11-24 12:17:43 +00:00
|
|
|
itertools = "0.12.0"
|
2024-03-13 09:24:18 +00:00
|
|
|
ruma = { git = "https://github.com/ruma/ruma", rev = "b2542df2bbbdf09af0612c9f28bcfa5620e1911c", features = ["client-api-c", "compat-upload-signatures", "compat-user-id", "compat-arbitrary-length-ids", "compat-tag-info", "unstable-msc3401"] }
|
2024-03-09 14:18:46 +00:00
|
|
|
ruma-common = { git = "https://github.com/ruma/ruma", rev = "b2542df2bbbdf09af0612c9f28bcfa5620e1911c" }
|
2022-12-19 16:20:56 +00:00
|
|
|
once_cell = "1.16.0"
|
2023-10-31 19:19:13 +00:00
|
|
|
rand = "0.8.5"
|
2022-12-19 16:20:56 +00:00
|
|
|
serde = "1.0.151"
|
|
|
|
serde_html_form = "0.2.0"
|
|
|
|
serde_json = "1.0.91"
|
2023-10-12 15:49:29 +00:00
|
|
|
sha2 = "0.10.8"
|
2023-09-06 11:29:57 +00:00
|
|
|
stream_assert = "0.1.1"
|
2022-12-19 16:20:56 +00:00
|
|
|
thiserror = "1.0.38"
|
2023-08-10 09:42:30 +00:00
|
|
|
tokio = { version = "1.30.0", default-features = false, features = ["sync"] }
|
2023-11-07 11:58:02 +00:00
|
|
|
tokio-stream = "0.1.14"
|
2023-10-31 11:18:44 +00:00
|
|
|
tracing = { version = "0.1.40", default-features = false, features = ["std"] }
|
|
|
|
tracing-core = "0.1.32"
|
2024-03-01 12:59:03 +00:00
|
|
|
uniffi = { git = "https://github.com/mozilla/uniffi-rs", rev = "0a5e2eb5760b4ce5549021ec91de546716de8db1" }
|
|
|
|
uniffi_bindgen = { git = "https://github.com/mozilla/uniffi-rs", rev = "0a5e2eb5760b4ce5549021ec91de546716de8db1" }
|
2024-02-05 14:56:14 +00:00
|
|
|
vodozemac = "0.5.1"
|
2023-07-27 09:34:28 +00:00
|
|
|
zeroize = "1.6.0"
|
2022-10-17 13:33:13 +00:00
|
|
|
|
2024-01-05 11:45:01 +00:00
|
|
|
matrix-sdk = { path = "crates/matrix-sdk", version = "0.7.0", default-features = false }
|
|
|
|
matrix-sdk-base = { path = "crates/matrix-sdk-base", version = "0.7.0" }
|
|
|
|
matrix-sdk-common = { path = "crates/matrix-sdk-common", version = "0.7.0" }
|
|
|
|
matrix-sdk-crypto = { path = "crates/matrix-sdk-crypto", version = "0.7.0" }
|
|
|
|
matrix-sdk-indexeddb = { path = "crates/matrix-sdk-indexeddb", version = "0.7.0", default-features = false }
|
|
|
|
matrix-sdk-qrcode = { path = "crates/matrix-sdk-qrcode", version = "0.7.0" }
|
|
|
|
matrix-sdk-sqlite = { path = "crates/matrix-sdk-sqlite", version = "0.7.0", default-features = false }
|
|
|
|
matrix-sdk-store-encryption = { path = "crates/matrix-sdk-store-encryption", version = "0.7.0" }
|
|
|
|
matrix-sdk-test = { path = "testing/matrix-sdk-test", version = "0.7.0" }
|
|
|
|
matrix-sdk-ui = { path = "crates/matrix-sdk-ui", version = "0.7.0", default-features = false }
|
2024-01-03 16:55:15 +00:00
|
|
|
|
2022-11-15 16:10:29 +00:00
|
|
|
# Default release profile, select with `--release`
|
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-11-15 16:10:29 +00:00
|
|
|
# Default development profile; default for most Cargo commands, otherwise
|
|
|
|
# selected with `--debug`
|
2022-06-03 15:10:15 +00:00
|
|
|
[profile.dev]
|
2022-11-15 16:10:29 +00:00
|
|
|
# Saves a lot of disk space. If symbols are needed, use the dbg profile.
|
2022-06-03 15:10:15 +00:00
|
|
|
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 }
|
2022-11-15 16:10:29 +00:00
|
|
|
|
2023-04-06 13:27:22 +00:00
|
|
|
# Custom profile with full debugging info, use `--profile dbg` to select
|
2022-11-15 16:10:29 +00:00
|
|
|
[profile.dbg]
|
|
|
|
inherits = "dev"
|
|
|
|
debug = 2
|
2022-11-15 16:11:01 +00:00
|
|
|
|
|
|
|
# Custom profile for use in (debug) builds of the binding crates, use
|
2023-04-06 13:27:22 +00:00
|
|
|
# `--profile reldbg` to select
|
2022-11-15 16:11:01 +00:00
|
|
|
[profile.reldbg]
|
2023-10-23 12:45:55 +00:00
|
|
|
inherits = "dbg"
|
2022-11-15 16:11:01 +00:00
|
|
|
opt-level = 3
|
2023-01-11 11:26:09 +00:00
|
|
|
|
|
|
|
[patch.crates-io]
|
2023-10-11 07:43:44 +00:00
|
|
|
async-compat = { git = "https://github.com/jplatte/async-compat", rev = "16dc8597ec09a6102d58d4e7b67714a35dd0ecb8" }
|
2023-07-14 08:08:43 +00:00
|
|
|
const_panic = { git = "https://github.com/jplatte/const_panic", rev = "9024a4cb3eac45c1d2d980f17aaee287b17be498" }
|