str0m-wincrypto 0.3.2

Supporting crate for str0m
docs.rs failed to build str0m-wincrypto-0.3.2
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.

str0m-wincrypto

Windows CNG/SChannel crypto backend for str0m.

Usage

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"] }

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_wincrypto::default_provider().install_process_default();

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