2021-05-13 11:24:52 +00:00
|
|
|
[package]
|
|
|
|
name = "double-ratchet-2"
|
2021-05-13 15:54:38 +00:00
|
|
|
authors = ["Hannes Furmans"]
|
|
|
|
description = "Implementation of Double Ratchet as specified by Signal."
|
|
|
|
homepage = "https://github.com/Decentrailzed-Communication-System/double-ratchet-2"
|
|
|
|
repository = "https://github.com/Decentrailzed-Communication-System/double-ratchet-2"
|
|
|
|
readme = "README.md"
|
|
|
|
keywords = ["double-ratchet", "crypto", "cryptography", "signal"]
|
2021-05-14 15:38:39 +00:00
|
|
|
version = "0.2.0"
|
2021-05-13 11:24:52 +00:00
|
|
|
edition = "2018"
|
2021-05-13 18:23:43 +00:00
|
|
|
license = "MIT"
|
2021-05-13 15:54:38 +00:00
|
|
|
license-file = "LICENSE"
|
2021-05-13 11:24:52 +00:00
|
|
|
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
x25519-dalek = "1.1.1"
|
|
|
|
rand_core = "0.5"
|
|
|
|
hkdf = "0.11.0"
|
|
|
|
hmac = "0.11.0"
|
|
|
|
aes-gcm-siv = {version = "0.10.0"}
|
2021-05-13 14:41:09 +00:00
|
|
|
ring-compat = {version = "0.2.1", optional = true, features = ["digest"]}
|
|
|
|
sha2 = {version = "0.9.5", optional = true}
|
2021-05-13 11:24:52 +00:00
|
|
|
serde = {version = "1.0.125", default-features = false, features = ["derive"]}
|
|
|
|
serde_bytes = "0.11.5"
|
|
|
|
bincode = "1.3.3"
|
|
|
|
hashbrown = "0.11.2"
|
|
|
|
|
|
|
|
[profile.release]
|
|
|
|
lto = true
|
2021-05-13 14:41:09 +00:00
|
|
|
opt-level = 3
|
|
|
|
|
|
|
|
[features]
|
|
|
|
default = ["sha2"]
|
|
|
|
ring = ["ring-compat/digest"]
|