matrix-rust-sdk/Cargo.toml

86 lines
2.7 KiB
TOML
Raw Normal View History

[workspace]
members = [
"benchmarks",
"bindings/matrix-sdk-crypto-ffi",
"bindings/matrix-sdk-ffi",
"crates/*",
"testing/*",
"examples/*",
2023-02-01 10:22:28 +00:00
"uniffi-bindgen",
"xtask",
]
# xtask, testing and the bindings should only be built when invoked explicitly.
default-members = ["benchmarks", "crates/*"]
2022-05-17 08:24:28 +00:00
resolver = "2"
2022-11-03 14:58:49 +00:00
[workspace.package]
rust-version = "1.70"
2022-11-03 14:58:49 +00:00
[workspace.dependencies]
anyhow = "1.0.68"
assert-json-diff = "2"
2023-03-30 13:54:31 +00:00
assert_matches = "1.5.0"
assert_matches2 = "0.1.1"
2023-08-01 13:23:42 +00:00
async-rx = "0.1.3"
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"
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"] }
eyeball-im-util = "0.5.1"
futures-core = "0.3.28"
futures-executor = "0.3.21"
futures-util = { version = "0.3.26", default-features = false, features = ["alloc"] }
http = "0.2.6"
2023-11-24 12:17:43 +00:00
itertools = "0.12.0"
ruma = { version = "0.9.3", features = ["client-api-c", "compat-upload-signatures", "compat-user-id", "compat-arbitrary-length-ids", "unstable-msc3401"] }
ruma-common = "0.12.0"
once_cell = "1.16.0"
rand = "0.8.5"
serde = "1.0.151"
serde_html_form = "0.2.0"
serde_json = "1.0.91"
sha2 = "0.10.8"
stream_assert = "0.1.1"
thiserror = "1.0.38"
2023-08-10 09:42:30 +00:00
tokio = { version = "1.30.0", default-features = false, features = ["sync"] }
tracing = { version = "0.1.40", default-features = false, features = ["std"] }
tracing-core = "0.1.32"
2023-11-20 09:51:26 +00:00
uniffi = { git = "https://github.com/mozilla/uniffi-rs", rev = "0a03b713306d6ce3de033157fc2ce92a238c2e24" }
uniffi_bindgen = { git = "https://github.com/mozilla/uniffi-rs", rev = "0a03b713306d6ce3de033157fc2ce92a238c2e24" }
2023-10-06 13:56:23 +00:00
vodozemac = "0.5.0"
2023-07-27 09:34:28 +00:00
zeroize = "1.6.0"
# Default release profile, select with `--release`
[profile.release]
lto = true
# Default development profile; default for most Cargo commands, otherwise
# selected with `--debug`
2022-06-03 15:10:15 +00:00
[profile.dev]
# Saves a lot of disk space. If symbols are needed, use the dbg profile.
2022-06-03 15:10:15 +00:00
debug = 0
[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 }
2023-04-06 13:27:22 +00:00
# Custom profile with full debugging info, use `--profile dbg` to select
[profile.dbg]
inherits = "dev"
debug = 2
# Custom profile for use in (debug) builds of the binding crates, use
2023-04-06 13:27:22 +00:00
# `--profile reldbg` to select
[profile.reldbg]
inherits = "dbg"
opt-level = 3
[patch.crates-io]
2023-10-11 07:43:44 +00:00
async-compat = { git = "https://github.com/jplatte/async-compat", rev = "16dc8597ec09a6102d58d4e7b67714a35dd0ecb8" }
const_panic = { git = "https://github.com/jplatte/const_panic", rev = "9024a4cb3eac45c1d2d980f17aaee287b17be498" }