2019-10-20 11:56:46 +00:00
|
|
|
[package]
|
|
|
|
authors = ["Damir Jelić <poljar@termina.org.uk"]
|
2020-02-21 16:01:34 +00:00
|
|
|
description = "A high level Matrix client-server library."
|
2019-10-20 11:56:46 +00:00
|
|
|
edition = "2018"
|
2020-02-21 16:01:34 +00:00
|
|
|
homepage = "https://github.com/matrix-org/matrix-rust-sdk"
|
2019-10-20 11:56:46 +00:00
|
|
|
keywords = ["matrix", "chat", "messaging", "ruma", "nio"]
|
2020-03-26 09:04:08 +00:00
|
|
|
license = "Apache-2.0"
|
2020-02-21 16:01:34 +00:00
|
|
|
name = "matrix-sdk"
|
2019-10-20 11:56:46 +00:00
|
|
|
readme = "README.md"
|
2020-02-21 16:01:34 +00:00
|
|
|
repository = "https://github.com/matrix-org/matrix-rust-sdk"
|
2019-10-20 11:56:46 +00:00
|
|
|
version = "0.1.0"
|
|
|
|
|
2020-02-24 16:19:00 +00:00
|
|
|
[features]
|
|
|
|
default = []
|
2020-04-16 14:02:59 +00:00
|
|
|
encryption = ["olm-rs", "serde/derive", "cjson", "zeroize"]
|
2020-03-18 08:41:49 +00:00
|
|
|
sqlite-cryptostore = ["sqlx", "zeroize"]
|
2020-02-24 16:19:00 +00:00
|
|
|
|
2019-10-20 11:56:46 +00:00
|
|
|
[dependencies]
|
2020-04-16 14:02:59 +00:00
|
|
|
dirs = "2.0.2"
|
2020-02-21 15:33:08 +00:00
|
|
|
futures = "0.3.4"
|
2020-03-11 10:42:59 +00:00
|
|
|
reqwest = "0.10.4"
|
2020-03-28 11:30:48 +00:00
|
|
|
http = "0.2.1"
|
2020-03-18 09:56:26 +00:00
|
|
|
url = "2.1.1"
|
2020-04-09 14:19:32 +00:00
|
|
|
async-trait = "0.1.30"
|
2020-04-16 14:02:59 +00:00
|
|
|
serde = "1.0.106"
|
|
|
|
serde_json = "1.0.51"
|
2020-03-31 23:34:11 +00:00
|
|
|
|
2020-03-19 12:55:04 +00:00
|
|
|
# Ruma dependencies
|
2020-04-27 10:12:45 +00:00
|
|
|
js_int = "0.1.5"
|
2020-04-23 08:52:47 +00:00
|
|
|
ruma-api = "0.16.0-rc.2"
|
|
|
|
ruma-client-api = { version = "0.8.0-rc.5" }
|
|
|
|
ruma-events = { version = "0.21.0-beta.1" }
|
|
|
|
ruma-identifiers = "0.16.0"
|
2020-04-09 14:19:32 +00:00
|
|
|
uuid = { version = "0.8.1", features = ["v4"] }
|
2020-03-18 09:56:26 +00:00
|
|
|
|
2020-03-19 12:55:04 +00:00
|
|
|
# Dependencies for the encryption support
|
2020-03-28 10:50:20 +00:00
|
|
|
olm-rs = { git = "https://gitlab.gnome.org/poljar/olm-rs", optional = true, features = ["serde"]}
|
2020-02-25 16:36:11 +00:00
|
|
|
cjson = { version = "0.1.0", optional = true }
|
2020-04-10 15:02:51 +00:00
|
|
|
zeroize = { version = "1.1.0", optional = true, features = ["zeroize_derive"] }
|
2020-03-19 12:55:04 +00:00
|
|
|
|
|
|
|
# Misc dependencies
|
2020-04-09 14:19:32 +00:00
|
|
|
thiserror = "1.0.14"
|
2020-03-28 11:30:48 +00:00
|
|
|
tracing = "0.1.13"
|
2020-04-02 12:52:15 +00:00
|
|
|
atomic = "0.4.5"
|
2020-04-09 14:19:32 +00:00
|
|
|
dashmap = "3.10.0"
|
2020-03-19 12:55:04 +00:00
|
|
|
|
|
|
|
[dependencies.tracing-futures]
|
|
|
|
version = "0.2.3"
|
|
|
|
default-features = false
|
|
|
|
features = ["std", "std-future"]
|
2020-03-18 09:56:26 +00:00
|
|
|
|
|
|
|
[dependencies.tokio]
|
2020-04-09 14:19:32 +00:00
|
|
|
version = "0.2.16"
|
2020-03-18 09:56:26 +00:00
|
|
|
default-features = false
|
2020-04-24 23:57:51 +00:00
|
|
|
features = ["sync", "time", "fs"]
|
2020-03-18 08:41:49 +00:00
|
|
|
|
|
|
|
[dependencies.sqlx]
|
2020-04-09 14:19:32 +00:00
|
|
|
version = "0.3.3"
|
2020-03-18 08:41:49 +00:00
|
|
|
optional = true
|
|
|
|
default-features = false
|
|
|
|
features = ["runtime-tokio", "sqlite"]
|
2019-10-20 11:56:46 +00:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2020-04-09 14:19:32 +00:00
|
|
|
tokio = { version = "0.2.16", features = ["rt-threaded", "macros"] }
|
|
|
|
serde_json = "1.0.51"
|
|
|
|
tracing-subscriber = "0.2.4"
|
2020-03-18 08:41:49 +00:00
|
|
|
tempfile = "3.1.0"
|
2020-04-09 14:19:32 +00:00
|
|
|
mockito = "0.25.1"
|
2020-04-16 14:02:59 +00:00
|
|
|
lazy_static = "1.4.0"
|