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
somewhere in the dependency tree.default-features = false - 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.