-
Notifications
You must be signed in to change notification settings - Fork 23
/
Cargo.toml
61 lines (56 loc) · 1.75 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
[package]
authors = [
"Damir Jelić <poljar@termina.org.uk>",
"Denis Kasak <dkasak@termina.org.uk>",
]
name = "vodozemac"
description = "A Rust implementation of Olm and Megolm"
repository = "https://github.com/matrix-org/vodozemac"
version = "0.6.0"
edition = "2021"
keywords = ["matrix", "chat", "messaging", "olm", "cryptography"]
license = "Apache-2.0"
rust-version = "1.65"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[features]
default = ["libolm-compat"]
js = ["getrandom/js"]
strict-signatures = []
libolm-compat = []
# The low-level-api feature exposes extra APIs that are only useful in advanced
# use cases and require extra care to use.
low-level-api = []
[dependencies]
aes = "0.8.4"
arrayvec = { version = "0.7.4", features = ["serde"] }
base64 = "0.22.1"
base64ct = { version = "1.6.0", features = ["std", "alloc"] }
cbc = { version = "0.1.2", features = ["std"] }
chacha20poly1305 = "0.10.1"
curve25519-dalek = { version = "4.1.2", default-features = false, features = ["zeroize"] }
ed25519-dalek = { version = "2.1.1", default-features = false, features = ["rand_core", "std", "serde", "hazmat", "zeroize"] }
getrandom = "0.2.14"
hkdf = "0.12.4"
hmac = "0.12.1"
matrix-pickle = { version = "0.2.0" }
pkcs7 = "0.4.1"
prost = "0.12.4"
rand = "0.8.5"
serde = { version = "1.0.200", features = ["derive"] }
serde_bytes = "0.11.14"
serde_json = "1.0.116"
sha2 = "0.10.8"
subtle = "2.5.0"
thiserror = "1.0.59"
x25519-dalek = { version = "2.0.1", features = ["serde", "reusable_secrets", "static_secrets", "zeroize"] }
zeroize = "1.7.0"
[dev-dependencies]
anyhow = "1.0.82"
assert_matches = "1.5.0"
assert_matches2 = "0.1.2"
olm-rs = "2.2.0"
proptest = "1.4.0"
[patch.crates-io]
olm-rs = { git = "https://github.com/poljar/olm-rs" }