Cargo Features

[dependencies]
shadowsocks-gtk-rs = { version = "0.4.1", default-features = false, features = ["runtime-api"] }
default = runtime-api

The runtime-api feature is set by default whenever shadowsocks-gtk-rs is added without default-features = false somewhere in the dependency tree.

runtime-api default = json5

Affects clap_def::CliArgs.runtime_api_socket_path, io::runtime_api, consts::RUNTIME_API_SOCKET_NAME_DEFAULT, shadowsocks-gtk-rs::runtime_api_msg

Required by the ssgtkctl binary

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.

json5 runtime-api