Skip to content

Commit db7f1c1

Browse files
authored
Document feature flags in lib.rs (#759)
Add feature flags documentation for OpenSSL support
1 parent 61cf28c commit db7f1c1

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

webrtc/src/lib.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
#![warn(rust_2018_idioms)]
22
#![allow(dead_code)]
33

4+
//! # Feature flags
5+
//!
6+
//! - **openssl** — Enables OpenSSL backend.
7+
//! - **pem** — Adds support for loading PEM certificates.
8+
//! - **vendored-openssl** — Builds and statically links vendored OpenSSL.
9+
410
pub use {data, dtls, ice, interceptor, mdns, media, rtcp, rtp, sctp, sdp, srtp, stun, turn, util};
511

612
/// [`peer_connection::RTCPeerConnection`] allows to establish connection between two peers given RTC configuration. Its API is similar to one in JavaScript.

0 commit comments

Comments
 (0)