Cargo Features
architect-api has no features set by default.
[dependencies]
architect-api = { version = "11.6.3", features = ["all", "graphql", "grpc", "postgres", "docs-rs", "rusqlite", "sqlx", "tokio"] }
- all = graphql, grpc, postgres
- graphql all? = juniper
- grpc all? = tonic, tonic-build
- postgres all? = postgres-types, tokio-postgres
-
Affects
utils::postgres… - docs-rs
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.
- juniper graphql?
-
Enables juniper ^0.16.0
- 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 tonic ^0.13
Affects
architect-api::grpc… - tonic-build build grpc?
-
Enables architect-tonic-build