[package] name = "shuttle-aws-rds" version = "0.49.0" edition = "2021" license = "Apache-2.0" description = "Plugin to provision AWS RDS resources" repository = "https://github.com/shuttle-hq/shuttle" keywords = ["shuttle-service", "rds"] [dependencies] async-trait = "0.1.56" diesel-async = { version = "0.4.1", optional = true } paste = "1.0.7" serde = { version = "1", features = ["derive"] } serde_json = "1" shuttle-service = { path = "../../service", version = "0.49.0" } sqlx = { version = "0.8.2", optional = true } [features] default = [] # Database postgres = ["sqlx?/postgres", "diesel-async?/postgres"] mysql = ["sqlx?/mysql", "diesel-async?/mysql"] mariadb = ["sqlx?/mysql", "diesel-async?/mysql"] # Databases with diesel-async support diesel-async = ["dep:diesel-async"] diesel-async-bb8 = [ "diesel-async", "diesel-async/bb8" ] diesel-async-deadpool = [ "diesel-async", "diesel-async/deadpool" ] # Add an sqlx Pool as a resource output type sqlx = ["dep:sqlx", "sqlx/runtime-tokio", "sqlx/tls-rustls"] sqlx-native-tls = ["dep:sqlx", "sqlx/runtime-tokio", "sqlx/tls-native-tls"]