[dependencies.as_variant]
version = "1.2.0"
[dependencies.assert_matches]
optional = true
version = "1.5.0"
[dependencies.assert_matches2]
optional = true
version = "0.1.1"
[dependencies.async-trait]
version = "0.1.60"
[dependencies.bitflags]
version = "2.1.0"
[dependencies.eyeball]
features = ["tracing"]
version = "0.8.7"
[dependencies.eyeball-im]
features = ["tracing"]
version = "0.4.1"
[dependencies.futures-util]
default-features = false
features = ["alloc"]
version = "0.3.26"
[dependencies.http]
optional = true
version = "0.2.6"
[dependencies.matrix-sdk-common]
version = "0.7.0"
[dependencies.matrix-sdk-crypto]
optional = true
version = "0.7.0"
[dependencies.matrix-sdk-store-encryption]
version = "0.7.0"
[dependencies.matrix-sdk-test]
optional = true
version = "0.7.0"
[dependencies.once_cell]
version = "1.16.0"
[dependencies.ruma]
features = ["client-api-c", "compat-upload-signatures", "compat-user-id", "compat-arbitrary-length-ids", "unstable-msc3401", "canonical-json", "unstable-msc3381"]
version = "0.9.3"
[dependencies.serde]
features = ["rc"]
version = "1.0.151"
[dependencies.serde_json]
version = "1.0.91"
[dependencies.thiserror]
version = "1.0.38"
[dependencies.tokio]
default-features = false
features = ["sync"]
version = "1.30.0"
[dependencies.tracing]
default-features = false
features = ["std"]
version = "0.1.40"
[dev-dependencies.assert_matches]
version = "1.5.0"
[dev-dependencies.assert_matches2]
version = "0.1.1"
[dev-dependencies.assign]
version = "1.1.1"
[dev-dependencies.futures-executor]
version = "0.3.21"
[dev-dependencies.http]
version = "0.2.6"
[dev-dependencies.matrix-sdk-test]
version = "0.7.0"
[dev-dependencies.stream_assert]
version = "0.1.1"
[features]
automatic-room-key-forwarding = ["matrix-sdk-crypto?/automatic-room-key-forwarding"]
default = []
e2e-encryption = ["dep:matrix-sdk-crypto"]
experimental-sliding-sync = ["ruma/unstable-msc3575"]
js = ["matrix-sdk-common/js", "matrix-sdk-crypto?/js", "ruma/js", "matrix-sdk-store-encryption/js"]
message-ids = ["matrix-sdk-crypto?/message-ids"]
qrcode = ["matrix-sdk-crypto?/qrcode"]
testing = ["dep:assert_matches", "dep:assert_matches2", "dep:http", "dep:matrix-sdk-test", "matrix-sdk-crypto?/testing"]
[package]
authors = ["Damir Jelić <poljar@termina.org.uk>"]
description = "The base component to build a Matrix client library."
edition = "2021"
homepage = "https://github.com/matrix-org/matrix-rust-sdk"
keywords = ["matrix", "chat", "messaging", "ruma", "nio"]
license = "Apache-2.0"
name = "matrix-sdk-base"
readme = "README.md"
repository = "https://github.com/matrix-org/matrix-rust-sdk"
rust-version = "1.70"
version = "0.7.0"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[target."cfg(not(target_arch = \"wasm32\"))".dev-dependencies.tokio]
default-features = false
features = ["sync", "rt-multi-thread", "macros"]
version = "1.30.0"
[target."cfg(target_arch = \"wasm32\")".dev-dependencies.wasm-bindgen-test]
version = "0.3.33"