double-ratchet-rs/Cargo.toml
2021-05-14 17:38:39 +02:00

35 lines
No EOL
1 KiB
TOML

[package]
name = "double-ratchet-2"
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"]
version = "0.2.0"
edition = "2018"
license = "MIT"
license-file = "LICENSE"
# 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"}
ring-compat = {version = "0.2.1", optional = true, features = ["digest"]}
sha2 = {version = "0.9.5", optional = true}
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
opt-level = 3
[features]
default = ["sha2"]
ring = ["ring-compat/digest"]