Cargo Features

[dependencies]
decthings-api = { version = "0.1.5", default-features = false, features = ["events", "client"] }
default = client, events

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

events default = client, futures, tokio-tungstenite

Affects client::event, client::DecthingsClientOptions.ws_server_address, client::DecthingsClient.language, protocol::RpcResponseOrEvent, request::LaunchDebugSessionParams.subscribe_to_events, request::DebugSubscribeToEventsParams, request::DebugUnsubscribeFromEventsParams, response::DebugSessionTerminatedReason, response::DebugEvent, response::DebugSubscribeToEventsResult, response::DebugSubscribeToEventsError, response::DebugUnsubscribeFromEventsResult, response::DebugUnsubscribeFromEventsError, request::LanguageUnsubscribeFromEventsParams, response::LanguageServerTerminatedReason, response::LanguageEvent, response::LanguageUnsubscribeFromEventsResult, response::LanguageUnsubscribeFromEventsError, rpc::language, request::SpawnCommandParams.subscribe_to_events

client default events = base64, embedded-svc, esp-idf-svc, esp-idf-sys, http, reqwest, serde_json, tokio

Affects decthings-api::client

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.

base64 client

Enables base64 ^0.21

futures events
serde_json client
tokio client
http client

Enables http ^0.2

tokio-tungstenite events

Enables tokio-tungstenite ^0.20

embedded-svc espidf client

Enables embedded-svc ^0.26

esp-idf-svc espidf client

Enables esp-idf-svc ^0.47

esp-idf-sys espidf client

Enables esp-idf-sys ^0.33

reqwest not espidf client

Enables reqwest ^0.11