6 releases

Uses new Rust 2024

0.3.0 Mar 29, 2026
0.2.0 Mar 20, 2026
0.1.3 Jan 9, 2026
0.1.2 Dec 25, 2025

#1665 in Cryptography

Download history 12/week @ 2025-12-21 1/week @ 2026-02-08 43/week @ 2026-02-15 105/week @ 2026-02-22 10/week @ 2026-03-01 8/week @ 2026-03-08 64/week @ 2026-03-29 452/week @ 2026-04-05

517 downloads per month
Used in 2 crates (via str0m)

MIT/Apache

155KB
3.5K SLoC

str0m-openssl

OpenSSL backend for str0m.

Usage

The primary way to use this backend is via the openssl feature flag in str0m:

[dependencies]
str0m = { version = "0.14", default-features = false, features = ["openssl"] }

DTLS 1.3 Support

DTLS 1.3 support is present through the use of Dimpl. In order to enable this, you instead should enabled the openssl-dimpl feature from str0m. This is currently kept separate but may become the only implementation in the future.

[dependencies]
str0m = { version = "0.14", default-features = false, features = ["openssl-dimpl"] }

Advanced: Direct usage

For advanced use cases, you can use this crate directly without enabling the feature flag:

use str0m::Rtc;
use std::sync::Arc;

// Set as process-wide default
str0m_openssl::default_provider().install_process_default();

// Or configure per-instance
let rtc = Rtc::builder()
    .set_crypto_provider(Arc::new(str0m_openssl::default_provider()))
    .build();

Dependencies

~9–13MB
~181K SLoC