2020-05-07 12:57:38 +00:00
|
|
|
[package]
|
|
|
|
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"
|
|
|
|
version = "0.1.0"
|
|
|
|
|
|
|
|
[features]
|
2020-05-25 11:37:49 +00:00
|
|
|
default = ["encryption", "sqlite-cryptostore", "messages"]
|
2020-05-07 12:57:38 +00:00
|
|
|
messages = []
|
|
|
|
encryption = ["matrix-sdk-crypto"]
|
|
|
|
sqlite-cryptostore = ["matrix-sdk-crypto/sqlite-cryptostore"]
|
|
|
|
|
|
|
|
[dependencies]
|
2020-05-15 10:32:36 +00:00
|
|
|
async-trait = "0.1.31"
|
|
|
|
serde = "1.0.110"
|
|
|
|
serde_json = "1.0.53"
|
2020-05-25 12:21:04 +00:00
|
|
|
zeroize = "1.1.0"
|
2020-05-07 12:57:38 +00:00
|
|
|
|
2020-05-08 11:54:46 +00:00
|
|
|
matrix-sdk-common = { version = "0.1.0", path = "../matrix_sdk_common" }
|
|
|
|
matrix-sdk-crypto = { version = "0.1.0", path = "../matrix_sdk_crypto", optional = true }
|
2020-05-07 12:57:38 +00:00
|
|
|
|
|
|
|
# Misc dependencies
|
2020-05-25 12:21:04 +00:00
|
|
|
thiserror = "1.0.19"
|
2020-05-07 12:57:38 +00:00
|
|
|
|
2020-05-08 14:12:21 +00:00
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio]
|
2020-05-15 10:32:36 +00:00
|
|
|
version = "0.2.21"
|
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]
|
2020-05-08 07:49:55 +00:00
|
|
|
matrix-sdk-test = { version = "0.1.0", path = "../matrix_sdk_test" }
|
2020-05-08 10:39:36 +00:00
|
|
|
http = "0.2.1"
|
2020-05-07 12:57:38 +00:00
|
|
|
tracing-subscriber = "0.2.5"
|
|
|
|
tempfile = "3.1.0"
|
2020-05-08 14:12:21 +00:00
|
|
|
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
|
2020-05-15 10:32:36 +00:00
|
|
|
tokio = { version = "0.2.21", features = ["rt-threaded", "macros"] }
|
2020-05-08 14:12:21 +00:00
|
|
|
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
|
2020-05-15 10:32:36 +00:00
|
|
|
wasm-bindgen-test = "0.3.12"
|