Cargo Features

[dependencies]
architect-sdk = { version = "7.24.7", default-features = false, features = ["all", "graphql", "grpc", "grpc-tls", "yaml"] }
default = grpc

The grpc feature is set by default whenever architect-sdk is added without default-features = false somewhere in the dependency tree.

all = graphql, grpc
graphql all? grpc = graphql_client, reqwest

Affects architect-sdk::graphql

grpc default all? = graphql, hickory-resolver, tonic

Enables grpc of architect-api

CR alee: rename this to architect-api for examples friendliness?

Affects architect-sdk::grpc, architect-sdk::symbology, marketdata::l2_client, marketdata::managed_l1_streams

grpc-tls

Enables tls-aws-lc and tls-native-roots of tonic

Affects grpc::grpc_tls_identity_from_pem_files

yaml = serde_yaml

enable this feature to access sdk::load_config

Affects architect-sdk::load_config

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.

graphql_client graphql?
hickory-resolver grpc
reqwest graphql?
serde_yaml yaml?
tonic grpc grpc-tls?