63 lines
1.7 KiB
TOML
63 lines
1.7 KiB
TOML
[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"
|
|
|
|
[package.metadata.docs.rs]
|
|
features = ["docs"]
|
|
rustdoc-args = ["--cfg", "feature=\"docs\""]
|
|
|
|
[features]
|
|
default = []
|
|
sqlite_cryptostore = ["sqlx"]
|
|
docs = ["sqlite_cryptostore"]
|
|
|
|
[dependencies]
|
|
async-trait = "0.1.41"
|
|
|
|
matrix-sdk-common-macros = { version = "0.1.0", path = "../matrix_sdk_common_macros" }
|
|
matrix-sdk-common = { version = "0.1.0", path = "../matrix_sdk_common" }
|
|
|
|
olm-rs = { version = "1.0.0", features = ["serde"] }
|
|
getrandom = "0.2.0"
|
|
serde = { version = "1.0.117", features = ["derive", "rc"] }
|
|
serde_json = "1.0.59"
|
|
zeroize = { version = "1.1.1", features = ["zeroize_derive"] }
|
|
url = "2.1.1"
|
|
|
|
# Misc dependencies
|
|
thiserror = "1.0.21"
|
|
tracing = "0.1.21"
|
|
atomic = "0.5.0"
|
|
dashmap = "3.11.10"
|
|
sha2 = "0.9.1"
|
|
aes-gcm = "0.7.0"
|
|
aes-ctr = "0.6.0"
|
|
pbkdf2 = { version = "0.6.0", default-features = false }
|
|
hmac = "0.10.1"
|
|
base64 = "0.13.0"
|
|
byteorder = "1.3.4"
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.sqlx]
|
|
version = "0.4.1"
|
|
optional = true
|
|
default-features = false
|
|
features = ["runtime-tokio-native-tls", "sqlite", "macros"]
|
|
|
|
[dev-dependencies]
|
|
tokio = { version = "0.2.22", default-features = false, features = ["rt-threaded", "macros"] }
|
|
futures = "0.3.6"
|
|
proptest = "0.10.1"
|
|
serde_json = "1.0.59"
|
|
tempfile = "3.1.0"
|
|
http = "0.2.1"
|
|
matrix-sdk-test = { version = "0.1.0", path = "../matrix_sdk_test" }
|
|
indoc = "1.0.3"
|