Cargo Features

[dependencies]
xray-core = { version = "0.1.0", default-features = false, features = ["client", "connect"] }
default = client, connect

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

client default

Affects xray-core::log.command, xray-core::proxyman.command, xray-core::router.command, xray-core::stats.command, xray-core::observatory.command, xray-core::Client

connect default = hyper-util, tokio, tower

Affects xray-core::connect

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.

hyper-util connect
tokio connect
tower connect