Cargo Features

ya-client has no features set by default.

[dependencies]
ya-client = { version = "0.9.0", features = ["cli", "sgx"] }
cli = structopt

Affects ya-client::cli

sgx = graphene-sgx, lazy_static, openssl, rand, secp256k1

Enables rand and serde of secp256k1 >=0.23, <0.28, sgx of ya-client-model

Affects control::sgx

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.

graphene-sgx sgx?
lazy_static sgx?
secp256k1 sgx?

Enables secp256k1 >=0.23, <0.28

rand sgx?
structopt cli?
openssl sgx?