2020-04-29 07:48:00 +00:00
|
|
|
[package]
|
2020-06-15 07:47:13 +00:00
|
|
|
authors = ["Damir Jelić <poljar@termina.org.uk>"]
|
2020-04-29 07:48:00 +00:00
|
|
|
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"
|
|
|
|
|
2020-08-13 09:06:26 +00:00
|
|
|
[package.metadata.docs.rs]
|
|
|
|
features = ["docs"]
|
|
|
|
rustdoc-args = ["--cfg", "feature=\"docs\""]
|
|
|
|
|
2020-04-29 07:48:00 +00:00
|
|
|
[features]
|
|
|
|
default = []
|
2020-08-13 09:06:26 +00:00
|
|
|
sqlite_cryptostore = ["sqlx"]
|
|
|
|
docs = ["sqlite_cryptostore"]
|
2020-04-29 07:48:00 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2020-10-13 11:01:18 +00:00
|
|
|
async-trait = "0.1.41"
|
2020-04-29 07:48:00 +00:00
|
|
|
|
2020-06-17 16:52:53 +00:00
|
|
|
matrix-sdk-common-macros = { version = "0.1.0", path = "../matrix_sdk_common_macros" }
|
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-10-13 11:01:18 +00:00
|
|
|
olm-rs = { version = "1.0.0", features = ["serde"] }
|
2020-09-11 14:34:39 +00:00
|
|
|
getrandom = "0.2.0"
|
2020-10-13 11:01:18 +00:00
|
|
|
serde = { version = "1.0.116", features = ["derive", "rc"] }
|
2020-10-14 13:35:06 +00:00
|
|
|
serde_json = "1.0.59"
|
2020-07-07 13:52:08 +00:00
|
|
|
cjson = "0.1.1"
|
2020-10-13 11:01:18 +00:00
|
|
|
zeroize = { version = "1.1.1", features = ["zeroize_derive"] }
|
2020-04-29 07:48:00 +00:00
|
|
|
url = "2.1.1"
|
|
|
|
|
|
|
|
# Misc dependencies
|
2020-10-13 11:01:18 +00:00
|
|
|
thiserror = "1.0.21"
|
|
|
|
tracing = "0.1.21"
|
2020-08-11 14:54:58 +00:00
|
|
|
atomic = "0.5.0"
|
|
|
|
dashmap = "3.11.10"
|
2020-08-19 07:23:03 +00:00
|
|
|
sha2 = "0.9.1"
|
2020-10-14 13:35:06 +00:00
|
|
|
aes-gcm = "0.7.0"
|
2020-10-13 11:01:18 +00:00
|
|
|
aes-ctr = "0.5.0"
|
2020-08-19 07:23:03 +00:00
|
|
|
pbkdf2 = { version = "0.5.0", default-features = false }
|
|
|
|
hmac = "0.9.0"
|
2020-10-13 11:01:18 +00:00
|
|
|
base64 = "0.13.0"
|
2020-08-19 07:23:03 +00:00
|
|
|
byteorder = "1.3.4"
|
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-10-16 17:39:50 +00:00
|
|
|
git = "https://github.com/launchbadge/sqlx/"
|
|
|
|
rev = "fd25a7530cf087e1529553ff854f192738db3461"
|
2020-04-29 07:48:00 +00:00
|
|
|
optional = true
|
|
|
|
default-features = false
|
2020-09-08 12:30:23 +00:00
|
|
|
features = ["runtime-tokio", "sqlite", "macros"]
|
2020-04-29 07:48:00 +00:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2020-08-03 15:22:44 +00:00
|
|
|
tokio = { version = "0.2.22", features = ["rt-threaded", "macros"] }
|
2020-10-13 11:01:18 +00:00
|
|
|
futures = "0.3.6"
|
2020-08-19 12:52:11 +00:00
|
|
|
proptest = "0.10.1"
|
2020-10-14 13:35:06 +00:00
|
|
|
serde_json = "1.0.59"
|
2020-04-29 07:48:00 +00:00
|
|
|
tempfile = "3.1.0"
|
2020-05-05 13:29:25 +00:00
|
|
|
http = "0.2.1"
|
2020-06-22 19:40:51 +00:00
|
|
|
matrix-sdk-test = { version = "0.1.0", path = "../matrix_sdk_test" }
|
2020-10-13 11:01:18 +00:00
|
|
|
indoc = "1.0.3"
|