2020-04-29 07:48:00 +00:00
|
|
|
[package]
|
2020-06-15 07:47:13 +00:00
|
|
|
authors = ["Damir Jelić <poljar@termina.org.uk>"]
|
2020-04-29 07:48:00 +00:00
|
|
|
description = "A high level Matrix client-server library."
|
|
|
|
edition = "2018"
|
|
|
|
homepage = "https://github.com/matrix-org/matrix-rust-sdk"
|
|
|
|
keywords = ["matrix", "chat", "messaging", "ruma", "nio"]
|
|
|
|
license = "Apache-2.0"
|
|
|
|
name = "matrix-sdk"
|
|
|
|
readme = "README.md"
|
|
|
|
repository = "https://github.com/matrix-org/matrix-rust-sdk"
|
2021-06-22 12:57:46 +00:00
|
|
|
version = "0.3.0"
|
2020-04-29 07:48:00 +00:00
|
|
|
|
2020-08-13 10:18:24 +00:00
|
|
|
[package.metadata.docs.rs]
|
|
|
|
features = ["docs"]
|
|
|
|
rustdoc-args = ["--cfg", "feature=\"docs\""]
|
|
|
|
|
2020-04-29 07:48:00 +00:00
|
|
|
[features]
|
2021-04-26 15:31:25 +00:00
|
|
|
default = ["encryption", "sled_cryptostore", "sled_state_store", "require_auth_for_profile_requests", "native-tls"]
|
2020-08-13 10:18:24 +00:00
|
|
|
|
2021-04-12 15:45:58 +00:00
|
|
|
encryption = ["matrix-sdk-base/encryption"]
|
2021-01-22 17:10:17 +00:00
|
|
|
sled_state_store = ["matrix-sdk-base/sled_state_store"]
|
2021-01-18 12:38:00 +00:00
|
|
|
sled_cryptostore = ["matrix-sdk-base/sled_cryptostore"]
|
2021-01-21 17:21:00 +00:00
|
|
|
markdown = ["matrix-sdk-base/markdown"]
|
2020-08-21 16:32:15 +00:00
|
|
|
native-tls = ["reqwest/native-tls"]
|
|
|
|
rustls-tls = ["reqwest/rustls-tls"]
|
2020-08-26 13:17:41 +00:00
|
|
|
socks = ["reqwest/socks"]
|
2021-03-23 14:30:40 +00:00
|
|
|
sso_login = ["warp", "rand", "tokio-stream"]
|
2021-04-26 15:31:25 +00:00
|
|
|
require_auth_for_profile_requests = []
|
2021-06-07 15:33:08 +00:00
|
|
|
appservice = ["ruma/appservice-api-s", "ruma/appservice-api-helper", "ruma/rand"]
|
2020-04-29 07:48:00 +00:00
|
|
|
|
2021-03-23 14:30:40 +00:00
|
|
|
docs = ["encryption", "sled_cryptostore", "sled_state_store", "sso_login"]
|
2020-08-13 10:18:24 +00:00
|
|
|
|
2020-04-29 07:48:00 +00:00
|
|
|
[dependencies]
|
2021-04-12 15:45:58 +00:00
|
|
|
dashmap = "4.0.2"
|
2021-06-21 14:42:38 +00:00
|
|
|
futures = "0.3.15"
|
|
|
|
http = "0.2.4"
|
|
|
|
serde_json = "1.0.64"
|
|
|
|
thiserror = "1.0.25"
|
|
|
|
tracing = "0.1.26"
|
|
|
|
url = "2.2.2"
|
|
|
|
zeroize = "1.3.0"
|
2020-10-13 09:00:52 +00:00
|
|
|
mime = "0.3.16"
|
2021-06-21 14:42:38 +00:00
|
|
|
rand = { version = "0.8.4", optional = true }
|
2021-04-19 10:26:10 +00:00
|
|
|
bytes = "1.0.1"
|
2020-05-08 14:12:21 +00:00
|
|
|
|
2021-06-22 12:57:46 +00:00
|
|
|
matrix-sdk-common = { version = "0.3.0", path = "../matrix_sdk_common" }
|
2020-04-29 07:48:00 +00:00
|
|
|
|
2020-05-08 09:07:08 +00:00
|
|
|
[dependencies.matrix-sdk-base]
|
2021-06-22 12:57:46 +00:00
|
|
|
version = "0.3.0"
|
2020-05-08 09:07:08 +00:00
|
|
|
path = "../matrix_sdk_base"
|
|
|
|
default_features = false
|
|
|
|
|
2020-08-21 16:32:15 +00:00
|
|
|
[dependencies.reqwest]
|
2021-06-21 14:42:38 +00:00
|
|
|
version = "0.11.3"
|
2020-08-21 16:32:15 +00:00
|
|
|
default_features = false
|
|
|
|
|
2021-06-07 14:53:56 +00:00
|
|
|
[dependencies.ruma]
|
2021-06-21 17:53:26 +00:00
|
|
|
version = "0.2.0"
|
2021-06-07 15:33:08 +00:00
|
|
|
features = ["client-api-c", "compat", "unstable-pre-spec"]
|
2021-06-07 14:53:56 +00:00
|
|
|
|
2021-03-23 14:30:40 +00:00
|
|
|
[dependencies.tokio-stream]
|
2021-06-21 14:42:38 +00:00
|
|
|
version = "0.1.6"
|
2021-03-23 14:30:40 +00:00
|
|
|
features = ["net"]
|
|
|
|
optional = true
|
|
|
|
|
|
|
|
[dependencies.warp]
|
2021-06-21 14:42:38 +00:00
|
|
|
version = "0.3.1"
|
2021-03-23 14:30:40 +00:00
|
|
|
default-features = false
|
|
|
|
optional = true
|
|
|
|
|
2021-02-07 11:53:06 +00:00
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.backoff]
|
2021-02-07 16:21:50 +00:00
|
|
|
version = "0.3.0"
|
2021-01-31 20:10:30 +00:00
|
|
|
features = ["tokio"]
|
|
|
|
|
2020-04-29 07:48:00 +00:00
|
|
|
[dependencies.tracing-futures]
|
2021-06-21 14:42:38 +00:00
|
|
|
version = "0.2.5"
|
2020-04-29 07:48:00 +00:00
|
|
|
default-features = false
|
|
|
|
features = ["std", "std-future"]
|
|
|
|
|
2020-07-17 08:01:22 +00:00
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
|
|
|
futures-timer = "3.0.2"
|
2020-07-07 14:11:33 +00:00
|
|
|
|
2020-09-11 14:34:39 +00:00
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio]
|
2021-06-21 14:42:38 +00:00
|
|
|
version = "1.7.1"
|
2020-09-11 14:34:39 +00:00
|
|
|
default-features = false
|
2021-01-05 20:39:52 +00:00
|
|
|
features = ["fs", "rt"]
|
2020-09-11 14:34:39 +00:00
|
|
|
|
2020-07-07 14:11:33 +00:00
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies.futures-timer]
|
|
|
|
version = "3.0.2"
|
|
|
|
features = ["wasm-bindgen"]
|
|
|
|
|
2020-04-29 07:48:00 +00:00
|
|
|
[dev-dependencies]
|
2021-06-21 14:42:38 +00:00
|
|
|
dirs = "3.0.2"
|
2021-06-22 12:57:46 +00:00
|
|
|
matrix-sdk-test = { version = "0.3.0", path = "../matrix_sdk_test" }
|
2021-06-21 14:42:38 +00:00
|
|
|
tokio = { version = "1.7.1", default-features = false, features = ["rt-multi-thread", "macros"] }
|
|
|
|
serde_json = "1.0.64"
|
|
|
|
tracing-subscriber = "0.2.18"
|
2021-01-25 14:47:51 +00:00
|
|
|
tempfile = "3.2.0"
|
2021-06-21 14:42:38 +00:00
|
|
|
mockito = "0.30.0"
|
2020-04-29 08:06:02 +00:00
|
|
|
lazy_static = "1.4.0"
|
2020-08-04 08:49:08 +00:00
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "emoji_verification"
|
|
|
|
required-features = ["encryption"]
|