Cargo Features

architect-api has no features set by default.

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

Enables netidx ^0.26.0

Affects generic_external::ExternalCptyMessage, architect-api::trading_activity, marketdata::NetidxFeedPaths, marketdata::MessageHeader, typed_message::TypedMessage

postgres all? = postgres-types, tokio-postgres

Affects utils::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?

Enables architect-tonic

Affects architect-api::grpc

tonic-build build grpc?

Enables architect-tonic-build