dimpl 0.2.2

DTLS 1.2 implementation (Sans‑IO, Sync)
Documentation
[dependencies.aes-gcm]
optional = true
version = "0.10"

[dependencies.arrayvec]
version = "0.7.6"

[dependencies.aws-lc-rs]
default-features = false
features = ["aws-lc-sys", "prebuilt-nasm"]
optional = true
version = "^1.14"

[dependencies.der]
version = "0.7"

[dependencies.ecdsa]
features = ["signing", "verifying"]
optional = true
version = "0.16"

[dependencies.generic-array]
optional = true
version = "0.14"

[dependencies.hmac]
optional = true
version = "0.12"

[dependencies.log]
version = "0.4.22"

[dependencies.nom]
default-features = false
features = ["std"]
version = "7.1.3"

[dependencies.once_cell]
version = "1.20.2"

[dependencies.p256]
features = ["ecdh"]
optional = true
version = "0.13"

[dependencies.p384]
features = ["ecdh"]
optional = true
version = "0.13"

[dependencies.pkcs8]
features = ["pem"]
version = "0.10"

[dependencies.rand]
version = "0.9"

[dependencies.rand_core]
optional = true
version = "0.6"

[dependencies.rcgen]
default-features = false
features = ["aws_lc_rs"]
optional = true
version = "0.14.5"

[dependencies.sec1]
version = "0.7"

[dependencies.sha2]
optional = true
version = "0.10"

[dependencies.signature]
version = "2.1"

[dependencies.spki]
version = "0.7"

[dependencies.subtle]
version = "2.6"

[dependencies.time]
features = ["formatting"]
version = "0.3"

[dependencies.x509-cert]
default-features = false
version = "0.2"

[dev-dependencies.env_logger]
version = "0.11.8"

[dev-dependencies.libc]
version = "0.2"

[dev-dependencies.openssl]
features = ["vendored"]
version = "0.10.70"

[dev-dependencies.x509-parser]
version = "0.16"

[features]
aws-lc-rs = ["dep:aws-lc-rs"]
default = ["aws-lc-rs", "rcgen"]
rcgen = ["dep:rcgen", "aws-lc-rs"]
rust-crypto = ["dep:aes-gcm", "dep:p256", "dep:p384", "dep:sha2", "dep:hmac", "dep:ecdsa", "dep:generic-array", "dep:rand_core"]

[lib]
name = "dimpl"
path = "src/lib.rs"

[package]
authors = ["Martin Algesten <martin@algesten.se>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["network-programming", "cryptography", "security"]
description = "DTLS 1.2 implementation (Sans‑IO, Sync)"
edition = "2021"
keywords = ["dtls", "tls", "webrtc"]
license = "MIT OR Apache-2.0"
name = "dimpl"
readme = "README.md"
repository = "https://github.com/algesten/dimpl"
rust-version = "1.81.0"
version = "0.2.2"

[[test]]
name = "all-crypto"
path = "tests/all-crypto.rs"

[[test]]
name = "client-fragments"
path = "tests/client-fragments.rs"

[[test]]
name = "client-ossl"
path = "tests/client-ossl.rs"

[[test]]
name = "resend-dupes"
path = "tests/resend-dupes.rs"

[[test]]
name = "resend-timers"
path = "tests/resend-timers.rs"

[[test]]
name = "server-ossl"
path = "tests/server-ossl.rs"