Cargo Features

[dependencies]
s2energy = { version = "0.1.0", default-features = false, features = ["websockets-json"] }
default = websockets-json

The websockets-json feature is set by default whenever s2energy is added without default-features = false somewhere in the dependency tree.

websockets-json default

Enables futures-util, serde_json, thiserror, tokio, and tokio-tungstenite ^0.21.0

futures-util:

feature=websockets-json

Affects s2energy::websockets_json