Cargo Features

shuttle-shared-db has no features set by default.

[dependencies]
shuttle-shared-db = { version = "0.51.0", features = ["mongodb", "postgres", "diesel-async", "diesel-async-bb8", "diesel-async-deadpool", "sqlx", "sqlx-native-tls", "opendal-postgres"] }
mongodb

Mongodb

Enables mongodb ^2.3.0

postgres opendal-postgres?

Postgres

Enables postgres of optional diesel-async ^0.4.1 and optional sqlx

diesel-async diesel-async-bb8? diesel-async-deadpool?

Postgres with diesel-async support

Enables diesel-async ^0.4.1

diesel-async-bb8 = diesel-async

Enables bb8 of diesel-async ^0.4.1

diesel-async-deadpool = diesel-async

Enables deadpool of diesel-async ^0.4.1

sqlx opendal-postgres?

Postgres with an sqlx PgPool

Enables runtime-tokio and tls-rustls of sqlx

sqlx-native-tls

Enables runtime-tokio and tls-native-tls of sqlx

opendal-postgres = postgres, sqlx

OpenDAL backed by Postgres

Enables services-postgresql of opendal

Affects postgres::SerdeJsonOperator