| Crates.io | str0m-rust-crypto |
| lib.rs | str0m-rust-crypto |
| version | 0.1.1 |
| created_at | 2025-12-17 09:59:58.801006+00 |
| updated_at | 2025-12-25 20:55:30.918408+00 |
| description | Pure Rust crypto backend for str0m WebRTC |
| homepage | |
| repository | https://github.com/algesten/str0m |
| max_upload_size | |
| id | 1989885 |
| size | 40,684 |
Pure Rust crypto backend for str0m.
The primary way to use this backend is via the rust-crypto feature flag in str0m:
[dependencies]
str0m = { version = "0.14", default-features = false, features = ["rust-crypto"] }
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_rust_crypto::default_provider().install_process_default();
// Or configure per-instance
let rtc = Rtc::builder()
.set_crypto_provider(Arc::new(str0m_rust_crypto::default_provider()))
.build();