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-06-22 12:57:46 +00:00
|
|
|
version = "0.3.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
|
|
|
encryption = ["matrix-sdk-crypto"]
|
2021-01-22 17:10:17 +00:00
|
|
|
sled_state_store = ["sled", "pbkdf2", "hmac", "sha2", "rand", "chacha20poly1305"]
|
2021-01-18 12:38:00 +00:00
|
|
|
sled_cryptostore = ["matrix-sdk-crypto/sled_cryptostore"]
|
2020-05-07 12:57:38 +00:00
|
|
|
|
2021-01-22 17:10:17 +00:00
|
|
|
docs = ["encryption", "sled_cryptostore"]
|
2020-08-13 10:17:30 +00:00
|
|
|
|
2020-05-07 12:57:38 +00:00
|
|
|
[dependencies]
|
2021-04-12 15:45:58 +00:00
|
|
|
dashmap = "4.0.2"
|
2021-05-25 19:16:28 +00:00
|
|
|
lru = "0.6.5"
|
2021-09-10 08:08:48 +00:00
|
|
|
ruma = { version = "0.4.0", features = ["client-api-c", "unstable-pre-spec"] }
|
2021-06-21 14:42:38 +00:00
|
|
|
serde = { version = "1.0.126", features = ["rc"] }
|
|
|
|
serde_json = "1.0.64"
|
|
|
|
tracing = "0.1.26"
|
2020-05-07 12:57:38 +00:00
|
|
|
|
2021-09-10 14:58:14 +00:00
|
|
|
matrix-sdk-common = { version = "0.4.0", path = "../matrix_sdk_common" }
|
2021-06-22 12:57:46 +00:00
|
|
|
matrix-sdk-crypto = { version = "0.3.0", path = "../matrix_sdk_crypto", optional = true }
|
2020-05-07 12:57:38 +00:00
|
|
|
|
|
|
|
# Misc dependencies
|
2021-06-21 14:42:38 +00:00
|
|
|
thiserror = "1.0.25"
|
|
|
|
futures = "0.3.15"
|
|
|
|
zeroize = { version = "1.3.0", features = ["zeroize_derive"] }
|
2021-01-22 17:10:17 +00:00
|
|
|
|
|
|
|
# Deps for the sled state store
|
|
|
|
sled = { version = "0.34.6", optional = true }
|
2021-09-10 08:08:48 +00:00
|
|
|
chacha20poly1305 = { version = "0.9.0", optional = true }
|
|
|
|
pbkdf2 = { version = "0.9.0", default-features = false, optional = true }
|
2021-06-21 14:42:38 +00:00
|
|
|
hmac = { version = "0.11.0", optional = true }
|
|
|
|
sha2 = { version = "0.9.5", optional = true }
|
|
|
|
rand = { version = "0.8.4", optional = true }
|
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-06-21 14:42:38 +00:00
|
|
|
version = "1.7.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-09-10 14:42:17 +00:00
|
|
|
matrix-sdk-test = { version = "0.4.0", path = "../matrix_sdk_test" }
|
2021-06-21 14:42:38 +00:00
|
|
|
http = "0.2.4"
|
2021-03-30 11:05:45 +00:00
|
|
|
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
|
2021-06-21 14:42:38 +00:00
|
|
|
tokio = { version = "1.7.1", default-features = false, features = ["rt-multi-thread", "macros"] }
|
2021-01-25 14:47:51 +00:00
|
|
|
tempfile = "3.2.0"
|
2021-09-10 08:08:48 +00:00
|
|
|
rustyline = "9.0.0"
|
|
|
|
rustyline-derive = "0.5.0"
|
2021-01-25 14:47:51 +00:00
|
|
|
atty = "0.2.14"
|
2020-12-23 13:53:14 +00:00
|
|
|
clap = "2.33.3"
|
2021-01-25 14:47:51 +00:00
|
|
|
syntect = "4.5.0"
|
2020-05-08 14:12:21 +00:00
|
|
|
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
|
2021-06-21 14:42:38 +00:00
|
|
|
wasm-bindgen-test = "0.3.24"
|