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"
|
2021-09-10 17:28:13 +00:00
|
|
|
version = "0.4.0"
|
2020-04-29 07:48:00 +00:00
|
|
|
|
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 = []
|
2021-09-08 15:23:10 +00:00
|
|
|
qrcode = ["matrix-qrcode"]
|
2021-01-18 12:38:00 +00:00
|
|
|
sled_cryptostore = ["sled"]
|
2021-01-27 14:29:42 +00:00
|
|
|
docs = ["sled_cryptostore"]
|
2020-04-29 07:48:00 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2021-09-10 18:45:17 +00:00
|
|
|
matrix-qrcode = { version = "0.2.0", path = "../matrix_qrcode" , optional = true}
|
2021-09-10 14:58:14 +00:00
|
|
|
matrix-sdk-common = { version = "0.4.0", path = "../matrix_sdk_common" }
|
2021-09-10 08:08:48 +00:00
|
|
|
ruma = { version = "0.4.0", features = ["client-api-c", "unstable-pre-spec"] }
|
2020-04-29 07:48:00 +00:00
|
|
|
|
2021-09-10 08:08:48 +00:00
|
|
|
olm-rs = { version = "2.0.1", features = ["serde"] }
|
2021-06-21 14:42:38 +00:00
|
|
|
getrandom = "0.2.3"
|
|
|
|
serde = { version = "1.0.126", features = ["derive", "rc"] }
|
|
|
|
serde_json = "1.0.64"
|
|
|
|
zeroize = { version = "1.3.0", features = ["zeroize_derive"] }
|
2020-04-29 07:48:00 +00:00
|
|
|
|
|
|
|
# Misc dependencies
|
2021-06-21 14:42:38 +00:00
|
|
|
futures = "0.3.15"
|
2021-01-18 12:38:00 +00:00
|
|
|
sled = { version = "0.34.6", optional = true }
|
2021-06-21 14:42:38 +00:00
|
|
|
thiserror = "1.0.25"
|
|
|
|
tracing = "0.1.26"
|
2020-08-11 14:54:58 +00:00
|
|
|
atomic = "0.5.0"
|
2021-01-25 14:47:51 +00:00
|
|
|
dashmap = "4.0.2"
|
2021-06-21 14:42:38 +00:00
|
|
|
sha2 = "0.9.5"
|
|
|
|
aes-gcm = "0.9.2"
|
|
|
|
aes = { version = "0.7.4", features = ["ctr"] }
|
2021-09-10 08:08:48 +00:00
|
|
|
pbkdf2 = { version = "0.9.0", default-features = false }
|
2021-06-21 14:42:38 +00:00
|
|
|
hmac = "0.11.0"
|
2020-10-13 11:01:18 +00:00
|
|
|
base64 = "0.13.0"
|
2021-06-21 14:42:38 +00:00
|
|
|
byteorder = "1.4.3"
|
2020-04-29 07:48:00 +00:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2021-06-21 14:42:38 +00:00
|
|
|
tokio = { version = "1.7.1", default-features = false, features = ["rt-multi-thread", "macros"] }
|
|
|
|
proptest = "1.0.0"
|
2021-07-26 13:28:17 +00:00
|
|
|
matches = "0.1.8"
|
2021-06-21 14:42:38 +00:00
|
|
|
serde_json = "1.0.64"
|
2021-01-25 14:47:51 +00:00
|
|
|
tempfile = "3.2.0"
|
2021-06-21 14:42:38 +00:00
|
|
|
http = "0.2.4"
|
2021-09-10 14:42:17 +00:00
|
|
|
matrix-sdk-test = { version = "0.4.0", path = "../matrix_sdk_test" }
|
2020-10-13 11:01:18 +00:00
|
|
|
indoc = "1.0.3"
|
2021-03-09 13:24:16 +00:00
|
|
|
criterion = { version = "0.3.4", features = ["async", "async_tokio", "html_reports"] }
|
2021-03-01 09:19:11 +00:00
|
|
|
|
|
|
|
[target.'cfg(target_os = "linux")'.dev-dependencies]
|
2021-09-09 11:35:43 +00:00
|
|
|
pprof = { version = "0.5.0", features = ["flamegraph", "criterion"] }
|
2021-01-24 13:29:59 +00:00
|
|
|
|
|
|
|
[[bench]]
|
|
|
|
name = "crypto_bench"
|
|
|
|
harness = false
|
2021-06-07 13:16:31 +00:00
|
|
|
required-features = ["sled_cryptostore"]
|