Cargo Features

FLNet has no features set by default.

[dependencies]
flnet = { version = "0.7.2", features = ["libc", "nosend", "wasm", "testing"] }
libc = native-tls, rand, tokio-tungstenite, webrtc

Affects websocket::WSSError

nosend wasm?

Affects messages::WebRTCSpawner

wasm = js-sys, nosend, parking_lot, serde-wasm-bindgen, wasm-bindgen, wasm-bindgen-futures, web-sys

Enables js of getrandom

testing

Affects flnet::testing

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.

native-tls libc?

Enables native-tls

For libc

rand libc?
tokio-tungstenite libc?

Enables tokio-tungstenite ^0.23

webrtc libc?

Enables webrtc ^0.11

js-sys wasm?

Enables js-sys

For wasm

parking_lot wasm?

Enables parking_lot ^0.11

parking_lot 0.12 needs nightly for wasm support.

wasm-bindgen wasm?
wasm-bindgen-futures wasm?
serde-wasm-bindgen wasm?
web-sys wasm?