Cargo Features

[dependencies]
architect-sdk = { version = "7.22.7", default-features = false, features = ["all", "graphql", "grpc", "grpc-tls"] }
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

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

Enables hickory-resolver ^0.24

reqwest graphql?
tonic grpc grpc-tls?