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 whenevershadowsocks-gtk-rs
is added without
somewhere in the dependency tree.default-features = false - 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.