Cargo Features
[dependencies]
rings-transport = { version = "0.7.0", default-features = false, features = ["dummy", "native-webrtc", "web-sys-webrtc", "tokio", "tokio-util"] }
- default = tokio-util
-
Include nothing by default
Dependencies for native-webrtc feature
- dummy = lazy_static, rand, webrtc
- native-webrtc = webrtc
- web-sys-webrtc = js-sys, wasm-bindgen, wasm-bindgen-futures, web-sys
-
Affects
callback::BoxedTransportCallback
,transport::BoxedTransport
…
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.
- tokio default
- tokio-util default
- webrtc dummy? native-webrtc?
-
Enables webrtc ^0.10.1
- lazy_static dummy?
-
Enables lazy_static
Dependencies for dummy feature
- rand dummy?
- js-sys web-sys-webrtc?
-
Enables js-sys
Dependencies for web-sys-webrtc feature
- wasm-bindgen web-sys-webrtc?
- wasm-bindgen-futures web-sys-webrtc?
- web-sys web-sys-webrtc?