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"
|
|
|
|
version = "0.1.0"
|
|
|
|
|
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]
|
2020-08-21 16:32:15 +00:00
|
|
|
default = ["encryption", "sqlite_cryptostore", "messages", "native-tls"]
|
2020-08-13 10:18:24 +00:00
|
|
|
|
2020-05-08 08:13:47 +00:00
|
|
|
messages = ["matrix-sdk-base/messages"]
|
2020-08-12 13:12:51 +00:00
|
|
|
encryption = ["matrix-sdk-base/encryption", "dashmap"]
|
2020-08-13 09:06:26 +00:00
|
|
|
sqlite_cryptostore = ["matrix-sdk-base/sqlite_cryptostore"]
|
2020-09-22 19:03:12 +00:00
|
|
|
unstable-synapse-quirks = ["matrix-sdk-base/unstable-synapse-quirks"]
|
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"]
|
2020-04-29 07:48:00 +00:00
|
|
|
|
2020-08-13 10:18:24 +00:00
|
|
|
docs = ["encryption", "sqlite_cryptostore", "messages"]
|
|
|
|
|
2020-04-29 07:48:00 +00:00
|
|
|
[dependencies]
|
2020-10-13 11:01:18 +00:00
|
|
|
async-trait = "0.1.41"
|
2020-08-12 13:12:51 +00:00
|
|
|
dashmap = { version = "3.11.10", optional = true }
|
2020-04-29 07:48:00 +00:00
|
|
|
http = "0.2.1"
|
2020-10-13 11:01:18 +00:00
|
|
|
serde_json = "1.0.58"
|
|
|
|
thiserror = "1.0.21"
|
|
|
|
tracing = "0.1.21"
|
2020-05-08 08:18:29 +00:00
|
|
|
url = "2.1.1"
|
2020-10-13 11:01:18 +00:00
|
|
|
zeroize = "1.1.1"
|
2020-10-13 09:00:52 +00:00
|
|
|
mime = "0.3.16"
|
2020-05-08 14:12:21 +00:00
|
|
|
|
2020-06-17 17:42:07 +00:00
|
|
|
matrix-sdk-common-macros = { version = "0.1.0", path = "../matrix_sdk_common_macros" }
|
2020-05-08 08:18:29 +00:00
|
|
|
matrix-sdk-common = { version = "0.1.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]
|
|
|
|
version = "0.1.0"
|
|
|
|
path = "../matrix_sdk_base"
|
|
|
|
default_features = false
|
|
|
|
|
2020-08-21 16:32:15 +00:00
|
|
|
[dependencies.reqwest]
|
2020-09-05 16:03:47 +00:00
|
|
|
version = "0.10.8"
|
2020-08-21 16:32:15 +00:00
|
|
|
default_features = false
|
|
|
|
|
2020-04-29 07:48:00 +00:00
|
|
|
[dependencies.tracing-futures]
|
2020-05-04 12:06:34 +00:00
|
|
|
version = "0.2.4"
|
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]
|
|
|
|
version = "0.2.22"
|
|
|
|
default-features = false
|
|
|
|
features = ["fs", "blocking"]
|
|
|
|
|
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]
|
2020-10-13 11:01:18 +00:00
|
|
|
async-trait = "0.1.41"
|
2020-10-06 13:17:45 +00:00
|
|
|
async-std = { version = "1.6.5", features = ["unstable"] }
|
2020-07-07 13:52:08 +00:00
|
|
|
dirs = "3.0.1"
|
2020-05-08 07:57:42 +00:00
|
|
|
matrix-sdk-test = { version = "0.1.0", path = "../matrix_sdk_test" }
|
2020-08-11 14:54:58 +00:00
|
|
|
tokio = { version = "0.2.22", features = ["rt-threaded", "macros"] }
|
2020-10-13 11:01:18 +00:00
|
|
|
serde_json = "1.0.58"
|
|
|
|
tracing-subscriber = "0.2.13"
|
2020-04-29 07:48:00 +00:00
|
|
|
tempfile = "3.1.0"
|
2020-08-11 14:54:58 +00:00
|
|
|
mockito = "0.27.0"
|
2020-04-29 08:06:02 +00:00
|
|
|
lazy_static = "1.4.0"
|
2020-10-13 11:01:18 +00:00
|
|
|
futures = "0.3.6"
|
2020-08-04 08:49:08 +00:00
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "emoji_verification"
|
|
|
|
required-features = ["encryption"]
|