Cargo Features

pterodactyl_api has no features set by default.

[dependencies]
pterodactyl_api = { version = "0.1.1", features = ["stream", "websocket"] }
stream = futures-core

Enables stream of reqwest ^0.11

websocket = async-tungstenite, futures-io, futures-util

Affects client::websocket

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.

async-tungstenite websocket?

Enables async-tungstenite ^0.20

futures-core stream?
futures-io websocket?
futures-util websocket?