Cargo Features

[dependencies]
rsipstack = { version = "0.1.4", default-features = false, features = ["rustls", "websocket", "all-transports", "console_error_panic_hook"] }
default = console_error_panic_hook, rustls, websocket

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

rustls default all-transports? = rustls-pemfile, tokio-rustls, webpki-roots
websocket default all-transports? = tokio-tungstenite
all-transports = rustls, 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.

console_error_panic_hook default

Enables console_error_panic_hook

The console_error_panic_hook crate provides better debugging of panics by logging them with console.error. This is great for development, but requires all the std::fmt and std::panicking infrastructure, so isn't great for code size when deploying.

tokio-tungstenite websocket

Enables tokio-tungstenite ^0.24.0

tokio-rustls rustls
rustls-pemfile rustls
webpki-roots rustls