Crate shuttle_aws_rds

source ·
Expand description

§Shuttle AWS RDS

This plugin provisions databases on AWS RDS using shuttle. The following three engines are supported:

  • Postgres
  • MySql
  • MariaDB

§Usage

Add shuttle-aws-rds to the dependencies for your service. Every engine is behind the following feature flags and attribute paths. The default is to use native TLS. You can also add -rustls after the feature flag, for example postgres-rustls.

EngineFeature flagAttribute path
Postgrespostgresshuttle_aws_rds::Postgres
MySqlmysqlshuttle_aws_rds::MySql
MariaDBmariadbshuttle_aws_rds::MariaDB

An example using the Tide framework can be found on GitHub

§Options

Each engine can take in the following options:

OptionTypeDescription
local_uri&strDon’t spin up a local docker instance of the DB, but rather connect to this URI instead for cargo shuttle run

Structs§