Cargo Features

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

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

Mongodb

Enables mongodb ^2.3.0

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

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