diff --git a/resources/shuttle-shared-db.mdx b/resources/shuttle-shared-db.mdx index b6c0a80..a4dfb92 100644 --- a/resources/shuttle-shared-db.mdx +++ b/resources/shuttle-shared-db.mdx @@ -6,12 +6,14 @@ This plugin manages databases that are shared with other services on [shuttle](h will share a postgres server with other users, but it will not be accessible by other users. ## Usage -Add `shuttle-shared-db` to the dependencies for your service. Every type of shareable database is behind the following feature flag and attribute path - -| Engine | Feature flag | Attribute path | -|----------|--------------|-----------------------------| -| Postgres | postgres | shuttle_shared_db::Postgres | -| MongoDB | mongodb | shuttle_shared_db::MongoDb | +Add `shuttle-shared-db` to the dependencies for your service. Every type of shareable database +is behind the following feature flag and attribute path. `*-rustls` feature enables `rustls`-based implementation, +otherwise some flavour of `native-tls` is used. + +| Engine | Feature flags | Attribute path | +|----------|-------------------------------|-------------------------------| +| Postgres | `postgres`, `postgres-rustls` | `shuttle_shared_db::Postgres` | +| MongoDB | `mongodb` | `shuttle_shared_db::MongoDb` | ### Parameters | Parameter | Type | Default | Description |