Cargo Features

architect-api has no features set by default.

[dependencies]
architect-api = { version = "2.1.3", features = ["graphql", "grpc", "netidx", "postgres", "clap", "rusqlite", "sqlx", "tokio"] }
graphql = juniper
grpc = tonic, tonic-build
netidx = netidx-core, netidx-derive

Enables netidx ^0.26.0

Affects generic_external::ExternalCptyMessage, marketdata::NetidxFeedPaths, marketdata::Snapshot, marketdata::Update, marketdata::Updates, marketdata::MessageHeader, fill::Fee, fill::Fill, fill::AberrantFill, orderflow::OrderflowMessage, order::Order, order::CancelAll, order::Reject, order::RejectReason, market::MarketInfo

postgres = postgres-types, tokio-postgres

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.

clap implicit feature

Enables clap

clap:

A simple to use, efficient, and full-featured Command Line Argument Parser

Affects order::TimeInForceArgs

juniper graphql?

Affects utils::graphql_scalars

netidx-core netidx?
netidx-derive netidx?
postgres-types postgres?
rusqlite implicit feature

Enables rusqlite ^0.31.0

rusqlite:

Ergonomic wrapper for SQLite

sqlx implicit feature
tokio implicit feature

Enables tokio

tokio:

An event-driven, non-blocking I/O platform for writing asynchronous I/O backed applications

tokio-postgres postgres?
tonic grpc?

Affects architect-api::grpc, utils::grpc

tonic-build build grpc?