Cargo Features
[dependencies]
tx5 = { version = "0.0.9-alpha", default-features = false, features = ["backend-go-pion", "backend-webrtc-rs"] }
- default = backend-go-pion
-
The
backend-go-pion
feature is set by default whenevertx5
is added without
somewhere in the dependency tree.default-features = false - 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. These features may have been created by mistake, and this functionality may be removed in the future.