double-ratchet-rs/Cargo.toml

48 lines
1.7 KiB
TOML
Raw Permalink Normal View History

2021-05-13 11:24:52 +00:00
[package]
name = "double-ratchet-rs"
2023-08-02 14:11:26 +00:00
version = "0.4.6"
2024-10-09 09:22:08 +00:00
authors = ["satvrn", "Hannes Furmans", "Pascal Engélibert"]
2023-08-02 14:11:26 +00:00
edition = "2021"
rust-version = "1.60"
description = "A pure Rust implementation of the Double Ratchet algorithm as described by Signal."
2023-08-02 14:11:26 +00:00
documentation = "https://docs.rs/double-ratchet-rs"
readme = "README.md"
2024-10-09 09:22:08 +00:00
homepage = "https://git.txmn.tk/tuxmain/double-ratchet-rs"
repository = "https://git.txmn.tk/tuxmain/double-ratchet-rs"
2021-05-13 18:23:43 +00:00
license = "MIT"
2023-08-02 14:11:26 +00:00
keywords = ["double-ratchet", "signal"]
categories = ["algorithms", "cryptography", "no-std"]
2021-05-13 11:24:52 +00:00
[dependencies]
2024-10-09 09:22:08 +00:00
x25519-dalek = {version = "2", default-features = false, features = ["serde", "static_secrets", "zeroize"]}
rand_core = "0.6"
hkdf = "0.12"
hmac = "0.12"
aes-gcm-siv = "0.11"
sha2 = {version = "0.10", default-features = false}
2023-07-19 02:27:39 +00:00
serde = {version = "1.0", default-features = false, features = ["derive"]}
postcard = {version = "1.0", default-features = false, features = ["alloc"]}
hashbrown = {version = "0.14", features = ["serde"], optional = true}
2023-07-19 02:27:39 +00:00
zeroize = {version = "1.6", default-features = false, features = ["zeroize_derive"]}
2021-05-13 11:24:52 +00:00
2023-08-02 14:11:26 +00:00
[target.'cfg(all(target_family = "wasm", target_vendor = "unknown"))'.dependencies]
getrandom = { version = "0.2", features = ["js"] }
[target.'cfg(not(target_family = "wasm"))'.dev-dependencies]
criterion = "0.4"
2021-05-24 16:04:57 +00:00
2023-08-02 14:11:26 +00:00
[target.'cfg(target_family = "wasm")'.dev-dependencies]
criterion = { version = "0.4", default-features = false, features = ["plotters", "cargo_bench_support"] }
wasm-bindgen-test = "0.2"
2021-05-24 16:04:57 +00:00
[[bench]]
name = "double_ratchet_bench"
harness = false
2021-05-13 11:24:52 +00:00
[profile.release]
lto = true
[features]
default = ["hashbrown"]
std = ["sha2/std", "serde/std", "postcard/use-std", "zeroize/std"]