Cargo Features

[dependencies]
tx5 = { version = "0.0.7-alpha", default-features = false, features = ["backend-go-pion", "backend-webrtc-rs"] }
default = backend-go-pion

The backend-go-pion feature is set by default whenever tx5 is added without default-features = false somewhere in the dependency tree.

backend-go-pion default = tx5-go-pion

use the tx5-go-pion crate as the webrtc backend

backend-webrtc-rs = webrtc

use the webrtc-rs crate as the webrtc backend

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

tx5-go-pion backend-go-pion
webrtc backend-webrtc-rs?

Enables webrtc ^0.7.1