Cargo Features

[dependencies]
bilive-danmaku = { version = "0.3.0", default-features = false, features = ["connect", "rt_tokio", "rt_wasm", "bincode", "deflate", "event", "json"] }
default = event

The event feature is set by default whenever bilive-danmaku is added without default-features = false somewhere in the dependency tree.

connect deflate? rt_tokio? rt_wasm? = byteorder, event

Enables brotli ^3, futures-util, and reqwest ^0.11

Affects bilive-danmaku::connection

rt_tokio = connect

Enables optional reqwest ^0.11, tokio, and tokio-tungstenite ^0.19

rt_wasm = connect

Enables gloo-net ^0.3, gloo-timers ^0.2, gloo-utils ^0.1, js-sys, optional reqwest ^0.11, serde-wasm-bindgen ^0.5, wasm-bindgen, and wasm-bindgen-futures

bincode

Enables bincode

deflate = connect

Enables deflate

event default connect?

Affects bilive-danmaku::event, bilive-danmaku::model

json

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.

byteorder connect?