matrix-rust-sdk/matrix_sdk_base/Cargo.toml

71 lines
2.2 KiB
TOML
Raw Normal View History

[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."
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"
[package.metadata.docs.rs]
features = ["docs"]
rustdoc-args = ["--cfg", "feature=\"docs\""]
[features]
default = []
encryption = ["matrix-sdk-crypto"]
sled_state_store = ["sled", "pbkdf2", "hmac", "sha2", "rand", "chacha20poly1305"]
2021-01-18 12:38:00 +00:00
sled_cryptostore = ["matrix-sdk-crypto/sled_cryptostore"]
unstable-synapse-quirks = ["matrix-sdk-common/unstable-synapse-quirks"]
markdown = ["matrix-sdk-common/markdown"]
docs = ["encryption", "sled_cryptostore"]
[dependencies]
2021-01-25 14:47:51 +00:00
dashmap= "4.0.2"
serde = { version = "1.0.122", features = ["rc"] }
2021-01-04 16:22:09 +00:00
serde_json = "1.0.61"
tracing = "0.1.22"
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 }
# Misc dependencies
2021-01-04 16:22:09 +00:00
thiserror = "1.0.23"
2021-01-25 14:47:51 +00:00
futures = "0.3.12"
zeroize = { version = "1.2.0", features = ["zeroize_derive"] }
# Deps for the sled state store
sled = { version = "0.34.6", optional = true }
chacha20poly1305 = { version = "0.7.1", optional = true }
pbkdf2 = { version = "0.6.0", default-features = false, optional = true }
hmac = { version = "0.10.1", optional = true }
sha2 = { version = "0.9.2", optional = true }
rand = { version = "0.8.2", optional = true }
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio]
2021-01-25 14:47:51 +00:00
version = "1.1.0"
default-features = false
features = ["sync", "fs"]
[dev-dependencies]
2021-01-05 10:23:18 +00:00
matrix-sdk-test = { version = "0.2.0", path = "../matrix_sdk_test" }
2021-01-25 14:47:51 +00:00
http = "0.2.3"
2021-01-04 16:22:09 +00:00
tracing-subscriber = "0.2.15"
2021-01-25 14:47:51 +00:00
tempfile = "3.2.0"
mockito = "0.29.0"
rustyline = "7.1.0"
rustyline-derive = "0.4.0"
2021-01-25 14:47:51 +00:00
atty = "0.2.14"
clap = "2.33.3"
2021-01-25 14:47:51 +00:00
syntect = "4.5.0"
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
2021-01-25 14:47:51 +00:00
tokio = { version = "1.1.0", default-features = false, features = ["rt-multi-thread", "macros"] }
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
2021-01-04 16:22:09 +00:00
wasm-bindgen-test = "0.3.19"