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 wheneverarchitect-sdk
is added without
somewhere in the dependency tree.default-features = false - 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.