double-ratchet-rs/Cargo.toml

46 lines
1.3 KiB
TOML
Raw Normal View History

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/Dione-Software/double-ratchet-2"
repository = "https://github.com/Dione-Software/double-ratchet-2"
2021-05-13 15:54:38 +00:00
readme = "README.md"
keywords = ["double-ratchet", "crypto", "cryptography", "signal"]
2021-08-23 12:05:05 +00:00
version = "0.3.4"
2021-05-13 11:24:52 +00:00
edition = "2018"
2021-05-13 18:23:43 +00:00
license = "MIT"
2021-05-13 11:24:52 +00:00
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
2021-06-18 10:16:01 +00:00
[badges]
maintenance = { status = "actively-developed" }
2021-05-13 11:24:52 +00:00
[dependencies]
2021-08-23 12:05:05 +00:00
p256 = {version = "0.9", features = ["zeroize", "ecdh", "arithmetic", "pem", "jwk"]}
2021-05-24 16:04:57 +00:00
rand_core = {version = "0.6", features = ["getrandom"]}
2021-05-13 11:24:52 +00:00
hkdf = "0.11.0"
hmac = "0.11.0"
aes-gcm-siv = {version = "0.10.0"}
ring-compat = {version = "0.3.1", optional = true, features = ["digest"]}
2021-05-13 14:41:09 +00:00
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"
2021-08-23 12:05:05 +00:00
hashbrown = {version = "0.11.2", features = ["serde"]}
zeroize = {version = "1.3.0", features = ["zeroize_derive"]}
2021-05-13 11:24:52 +00:00
2021-05-24 16:04:57 +00:00
[dev-dependencies]
criterion = "0.3.4"
[[bench]]
name = "double_ratchet_bench"
harness = false
2021-05-13 11:24:52 +00:00
[profile.release]
lto = true
2021-05-13 14:41:09 +00:00
opt-level = 3
[features]
default = ["sha2"]
ring = ["ring-compat/digest"]