2020-05-07 12:57:38 +00:00
|
|
|
[package]
|
2020-06-15 07:47:13 +00:00
|
|
|
authors = ["Damir Jelić <poljar@termina.org.uk>"]
|
2020-05-08 11:54:46 +00:00
|
|
|
description = "The base component to build a Matrix client library."
|
2020-05-07 12:57:38 +00:00
|
|
|
edition = "2018"
|
|
|
|
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"
|
2021-01-05 10:23:18 +00:00
|
|
|
version = "0.2.0"
|
2020-05-07 12:57:38 +00:00
|
|
|
|
2020-08-13 10:17:30 +00:00
|
|
|
[package.metadata.docs.rs]
|
|
|
|
features = ["docs"]
|
|
|
|
rustdoc-args = ["--cfg", "feature=\"docs\""]
|
|
|
|
|
2020-05-07 12:57:38 +00:00
|
|
|
[features]
|
2020-10-20 07:04:24 +00:00
|
|
|
default = []
|
2020-05-07 12:57:38 +00:00
|
|
|
messages = []
|
|
|
|
encryption = ["matrix-sdk-crypto"]
|
2021-01-18 12:38:00 +00:00
|
|
|
sled_cryptostore = ["matrix-sdk-crypto/sled_cryptostore"]
|
2020-09-22 19:03:12 +00:00
|
|
|
unstable-synapse-quirks = ["matrix-sdk-common/unstable-synapse-quirks"]
|
2021-01-21 17:21:00 +00:00
|
|
|
markdown = ["matrix-sdk-common/markdown"]
|
2020-05-07 12:57:38 +00:00
|
|
|
|
2021-01-18 12:38:00 +00:00
|
|
|
docs = ["encryption", "sled_cryptostore", "messages"]
|
2020-08-13 10:17:30 +00:00
|
|
|
|
2020-05-07 12:57:38 +00:00
|
|
|
[dependencies]
|
2021-01-04 16:34:33 +00:00
|
|
|
dashmap= "4.0.1"
|
2021-01-19 11:29:46 +00:00
|
|
|
serde = { version = "1.0.119", features = ["rc"] }
|
2021-01-04 16:22:09 +00:00
|
|
|
serde_json = "1.0.61"
|
|
|
|
tracing = "0.1.22"
|
2020-05-07 12:57:38 +00:00
|
|
|
|
2021-01-05 10:23:18 +00:00
|
|
|
matrix-sdk-common = { version = "0.2.0", path = "../matrix_sdk_common" }
|
|
|
|
matrix-sdk-crypto = { version = "0.2.0", path = "../matrix_sdk_crypto", optional = true }
|
2020-05-07 12:57:38 +00:00
|
|
|
|
|
|
|
# Misc dependencies
|
2021-01-04 16:22:09 +00:00
|
|
|
thiserror = "1.0.23"
|
2021-01-04 16:34:33 +00:00
|
|
|
sled = "0.34.6"
|
2021-01-20 10:12:39 +00:00
|
|
|
chacha20poly1305 = "0.7.1"
|
2021-01-20 15:52:32 +00:00
|
|
|
rand = "0.8.2"
|
2021-01-20 10:12:39 +00:00
|
|
|
zeroize = { version = "1.2.0", features = ["zeroize_derive"] }
|
|
|
|
pbkdf2 = { version = "0.6.0", default-features = false }
|
|
|
|
hmac = "0.10.1"
|
|
|
|
sha2 = "0.9.2"
|
2021-01-04 16:34:33 +00:00
|
|
|
futures = "0.3.8"
|
2020-05-07 12:57:38 +00:00
|
|
|
|
2020-05-08 14:12:21 +00:00
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio]
|
2021-01-05 20:39:52 +00:00
|
|
|
version = "1.0.1"
|
2020-05-07 12:57:38 +00:00
|
|
|
default-features = false
|
2020-05-08 09:07:08 +00:00
|
|
|
features = ["sync", "fs"]
|
2020-05-07 12:57:38 +00:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2021-01-05 10:23:18 +00:00
|
|
|
matrix-sdk-test = { version = "0.2.0", path = "../matrix_sdk_test" }
|
2021-01-04 16:22:09 +00:00
|
|
|
http = "0.2.2"
|
|
|
|
tracing-subscriber = "0.2.15"
|
2020-05-07 12:57:38 +00:00
|
|
|
tempfile = "3.1.0"
|
2021-01-04 16:22:09 +00:00
|
|
|
mockito = "0.28.0"
|
2020-12-10 09:01:53 +00:00
|
|
|
rustyline = "7.0.0"
|
2020-12-23 13:53:14 +00:00
|
|
|
rustyline-derive = "0.4.0"
|
2021-01-02 11:58:52 +00:00
|
|
|
atty = "0.2"
|
2020-12-23 13:53:14 +00:00
|
|
|
clap = "2.33.3"
|
2020-12-10 09:01:53 +00:00
|
|
|
syntect = "4.4.0"
|
2020-05-08 14:12:21 +00:00
|
|
|
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
|
2021-01-05 20:39:52 +00:00
|
|
|
tokio = { version = "1.0.1", default-features = false, features = ["rt-multi-thread", "macros"] }
|
2020-05-08 14:12:21 +00:00
|
|
|
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
|
2021-01-04 16:22:09 +00:00
|
|
|
wasm-bindgen-test = "0.3.19"
|