matrix-rust-sdk/Cargo.toml

80 lines
2.5 KiB
TOML
Raw Normal View History

[workspace]
members = [
"benchmarks",
"bindings/matrix-sdk-crypto-ffi",
"bindings/matrix-sdk-crypto-js",
"bindings/matrix-sdk-crypto-nodejs",
"bindings/matrix-sdk-ffi",
"crates/*",
"testing/*",
"examples/*",
"labs/*",
2023-02-01 10:22:28 +00:00
"uniffi-bindgen",
"xtask",
]
2022-08-01 11:01:50 +00:00
# xtask, labs, 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.65"
[workspace.dependencies]
anyhow = "1.0.68"
2023-03-30 13:54:31 +00:00
assert_matches = "1.5.0"
async-stream = "0.3.3"
async-trait = "0.1.60"
2023-02-08 14:12:09 +00:00
base64 = "0.21.0"
byteorder = "1.4.3"
2023-04-24 11:14:34 +00:00
ctor = "0.2.0"
dashmap = "5.2.0"
2023-04-24 11:14:34 +00:00
eyeball = "0.6.0"
2023-03-20 15:26:26 +00:00
eyeball-im = "0.2.0"
futures-util = { version = "0.3.26", default-features = false, features = ["alloc"] }
http = "0.2.6"
ruma = { git = "https://github.com/ruma/ruma", rev = "54a4223caa1c1052464ecdba0f1e08f126e07bcd", features = ["client-api-c", "compat-user-id"] }
ruma-common = { git = "https://github.com/ruma/ruma", rev = "54a4223caa1c1052464ecdba0f1e08f126e07bcd" }
once_cell = "1.16.0"
serde = "1.0.151"
serde_html_form = "0.2.0"
serde_json = "1.0.91"
thiserror = "1.0.38"
2023-03-28 18:37:04 +00:00
tokio = { version = "1.24", default-features = false, features = ["sync"] }
tracing = { version = "0.1.36", default-features = false, features = ["std"] }
2023-03-20 09:04:52 +00:00
tracing-core = "0.1.30"
2023-05-03 08:25:24 +00:00
uniffi = { git = "https://github.com/mozilla/uniffi-rs", rev = "75b9df455d1b67d25291c09634ff22160e4abcbf" }
uniffi_bindgen = { git = "https://github.com/mozilla/uniffi-rs", rev = "75b9df455d1b67d25291c09634ff22160e4abcbf" }
vodozemac = { git = "https://github.com/matrix-org/vodozemac", rev = "03f87573f704caf00273be6a77b017ccb5f3de75" }
zeroize = "1.3.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 = "dev"
incremental = false
# Compile all non-workspace crate in the dependency tree with optimizations
[profile.reldbg.package."*"]
opt-level = 3