2020-04-29 07:48:00 +00:00
|
|
|
[package]
|
|
|
|
authors = ["Damir Jelić <poljar@termina.org.uk"]
|
|
|
|
description = "Matrix encryption 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-crypto"
|
|
|
|
readme = "README.md"
|
|
|
|
repository = "https://github.com/matrix-org/matrix-rust-sdk"
|
|
|
|
version = "0.1.0"
|
|
|
|
|
|
|
|
[features]
|
|
|
|
default = []
|
|
|
|
sqlite-cryptostore = ["sqlx"]
|
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
async-trait = "0.1.30"
|
|
|
|
|
2020-05-08 11:54:46 +00:00
|
|
|
matrix-sdk-common = { version = "0.1.0", path = "../matrix_sdk_common" }
|
2020-04-29 07:48:00 +00:00
|
|
|
|
2020-05-05 13:29:25 +00:00
|
|
|
olm-rs = { version = "0.5.0", features = ["serde"] }
|
2020-04-29 07:48:00 +00:00
|
|
|
serde = { version = "1.0.106", features = ["derive"] }
|
2020-05-05 13:29:25 +00:00
|
|
|
serde_json = "1.0.52"
|
2020-05-08 14:12:21 +00:00
|
|
|
cjson = { git = "https://github.com/stoically/cjson", rev = "24a82d94e339e27a62434493869f3dce62c60e0d" }
|
2020-04-29 07:48:00 +00:00
|
|
|
zeroize = { version = "1.1.0", features = ["zeroize_derive"] }
|
|
|
|
url = "2.1.1"
|
|
|
|
|
|
|
|
# Misc dependencies
|
2020-05-05 13:29:25 +00:00
|
|
|
thiserror = "1.0.16"
|
2020-04-29 07:48:00 +00:00
|
|
|
tracing = "0.1.13"
|
|
|
|
atomic = "0.4.5"
|
2020-05-05 13:29:25 +00:00
|
|
|
dashmap = "3.11.1"
|
2020-04-29 07:48:00 +00:00
|
|
|
|
|
|
|
[dependencies.tracing-futures]
|
2020-05-05 13:29:25 +00:00
|
|
|
version = "0.2.4"
|
2020-04-29 07:48:00 +00:00
|
|
|
default-features = false
|
|
|
|
features = ["std", "std-future"]
|
|
|
|
|
2020-05-08 14:12:21 +00:00
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.sqlx]
|
2020-05-08 11:54:46 +00:00
|
|
|
version = "0.3.5"
|
2020-04-29 07:48:00 +00:00
|
|
|
optional = true
|
|
|
|
default-features = false
|
|
|
|
features = ["runtime-tokio", "sqlite"]
|
|
|
|
|
|
|
|
[dev-dependencies]
|
2020-05-05 13:29:25 +00:00
|
|
|
tokio = { version = "0.2.20", features = ["rt-threaded", "macros"] }
|
|
|
|
ruma-identifiers = { version = "0.16.1", features = ["rand"] }
|
|
|
|
serde_json = "1.0.52"
|
2020-04-29 07:48:00 +00:00
|
|
|
tempfile = "3.1.0"
|
2020-05-05 13:29:25 +00:00
|
|
|
http = "0.2.1"
|