40 breaking releases

new 0.45.0 May 13, 2024
0.43.0 Apr 2, 2024
0.42.0 Mar 18, 2024
0.35.2 Dec 21, 2023
0.7.2 Oct 28, 2022

#661 in Database interfaces

Download history 22/week @ 2024-01-22 4/week @ 2024-01-29 125/week @ 2024-02-12 17/week @ 2024-02-19 46/week @ 2024-02-26 256/week @ 2024-03-04 991/week @ 2024-03-11 121/week @ 2024-03-18 158/week @ 2024-04-01 34/week @ 2024-04-08 146/week @ 2024-04-22 8/week @ 2024-04-29

192 downloads per month

Apache-2.0

27KB
455 lines

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.

Engine Feature flag Attribute path
Postgres postgres shuttle_aws_rds::Postgres
MySql mysql shuttle_aws_rds::MySql
MariaDB mariadb shuttle_aws_rds::MariaDB

An example using the Tide framework can be found on GitHub

Options

Each engine can take in the following options:

Option Type Description
local_uri &str Don't spin up a local docker instance of the DB, but rather connect to this URI instead for cargo shuttle run

Dependencies

~5–20MB
~333K SLoC