Cargo Features

[dependencies]
emissary-cli = { version = "0.2.0", default-features = false, features = ["native-ui", "web-ui"] }
default = native-ui

The native-ui feature is set by default whenever emissary-cli is added without default-features = false somewhere in the dependency tree.

native-ui default = iced

Affects ui::native

web-ui = axum, serde_json, tokio-tungstenite

Affects ui::web

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.

axum web-ui?
iced native-ui
serde_json web-ui?
tokio-tungstenite web-ui?