37 breaking releases

new 0.42.0 Mar 18, 2024
0.40.0 Mar 4, 2024
0.35.2 Dec 21, 2023
0.34.1 Nov 29, 2023
0.7.2 Oct 28, 2022

#433 in Database interfaces

Download history 3/week @ 2023-11-29 9/week @ 2023-12-06 8/week @ 2023-12-13 6/week @ 2023-12-20 6/week @ 2024-01-03 2/week @ 2024-01-10 22/week @ 2024-01-24 4/week @ 2024-01-31 131/week @ 2024-02-14 16/week @ 2024-02-21 147/week @ 2024-02-28 185/week @ 2024-03-06 1037/week @ 2024-03-13

1,388 downloads per month

Apache-2.0

8KB
91 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–21MB
~337K SLoC