| Crates.io | str0m-wincrypto |
| lib.rs | str0m-wincrypto |
| version | 0.3.2 |
| created_at | 2025-02-20 11:21:28.878992+00 |
| updated_at | 2025-12-25 20:55:49.802611+00 |
| description | Supporting crate for str0m |
| homepage | |
| repository | https://github.com/algesten/str0m |
| max_upload_size | |
| id | 1562554 |
| size | 108,730 |
Windows CNG/SChannel crypto backend for str0m.
The primary way to use this backend is via the wincrypto feature flag in str0m:
[dependencies]
str0m = { version = "0.14", default-features = false, features = ["wincrypto"] }
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_wincrypto::default_provider().install_process_default();
// Or configure per-instance
let rtc = Rtc::builder()
.set_crypto_provider(Arc::new(str0m_wincrypto::default_provider()))
.build();