[package]
name = "dimpl"
authors = ["Martin Algesten <martin@algesten.se>"]
description = "DTLS 1.2 implementation (Sans‑IO, Sync)"
version = "0.1.0"
edition = "2021"
license = "MIT OR Apache-2.0"
repository = "https://github.com/algesten/dimpl"
readme = "README.md"
keywords = ["dtls", "tls", "webrtc"]
categories = ["network-programming", "cryptography", "security"]
rust-version = "1.71.1"
[dependencies]
log = "0.4.22"
nom = { version = "7.1.3", default-features = false, features = ["std"] }
once_cell = "1.20.2"
rand = "0.8.5"
tinyvec = "1.8.1"
self_cell = "1.1.0"
zeroize = "1.8.1"
p256 = { version = "0.13", features = ["ecdh", "ecdsa", "pkcs8"] }
x25519-dalek = { version = "2", features = ["getrandom"] }
aes-gcm = "0.10"
hmac = "0.12"
sha2 = "0.10"
p384 = { version = "0.13", features = ["ecdh", "ecdsa", "pkcs8"] }
sec1 = "0.7"
elliptic-curve = "0.13"
num-bigint = { version = "0.4", features = ["rand"] }
time = { version = "0.3", features = ["formatting"] }
x509-cert = { version = "0.2", features = ["builder"] }
rcgen = "0.14"
der = "0.7"
rsa = { version = "0.9", features = ["pem", "sha2"] }
pkcs8 = { version = "0.10", features = ["pem"] }
signature = "2.1"
spki = "0.7"
[dev-dependencies]
openssl = "0.10.70"
libc = "0.2"
env_logger = "0.11.8"