Cargo Features

[dependencies]
insim = { version = "2.1.0", default-features = false, features = ["blocking", "tokio", "serde", "pth", "smx", "websocket"] }
default = blocking, tokio, websocket

These default features are set whenever insim is added without default-features = false somewhere in the dependency tree.

blocking default

Affects net::blocking_impl

tokio default websocket

Enables async-trait and tokio

Affects net::tokio_impl

serde

Enables serde, serde of bitflags, indexmap, and insim_core

pth

Enables insim_pth

smx

Enables insim_smx

websocket default = futures-util, tokio

Enables tokio-tungstenite ^0.23.1

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.

futures-util websocket