Cargo Features

FLNet has no features set by default.

[dependencies]
flnet = { version = "0.7.1", 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

getrandom:

Feature to enable JavaScript bindings on wasm*-unknown-unknown

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.17

webrtc libc?

Enables webrtc ^0.5

js-sys wasm?

Enables js-sys

For wasm

parking_lot wasm?

Enables parking_lot ^0.11

parking_lot 0.12 doesn't compile correctly with wasm

wasm-bindgen wasm?
wasm-bindgen-futures wasm?
serde-wasm-bindgen wasm?

Enables serde-wasm-bindgen ^0.4

web-sys wasm?