Cargo Features

[dependencies]
gimbal_database_connection = { version = "0.1.0", default-features = false, features = ["fail-on-warnings", "tls", "creds", "sqlx", "mysql", "mysql-sqlx", "postgres", "postgres-native-tls", "postgres-openssl", "postgres-raw", "postgres-sqlx", "sqlite", "sqlite-rusqlite", "sqlite-sqlx", "simulator"] }
default = mysql-sqlx, postgres-sqlx, simulator, sqlite-rusqlite, sqlite-sqlx

These default features are set whenever gimbal_database_connection is added without default-features = false somewhere in the dependency tree.

fail-on-warnings
tls

Enables tls of gimbal_database and tls-rustls of sqlx

sqlx dependencies

creds mysql? postgres?

Enables aws-config and aws-sdk-ssm

aws-config:

Creds dependencies

Affects gimbal_database_connection::creds

sqlx mysql-sqlx postgres-sqlx sqlite-sqlx tls?

Enables sqlx, sqlx of gimbal_database

Affects gimbal_database_connection::InitSqliteSqlxDatabaseError

mysql mysql-sqlx = creds

Enables tokio

mysql-sqlx default = mysql, sqlx

Enables mysql-sqlx of gimbal_database, mysql of sqlx

postgres postgres-raw? postgres-sqlx = creds

Enables tokio, postgres of gimbal_database

Affects gimbal_database_connection::InitPostgresError, gimbal_database_connection::InitDatabaseError

postgres-native-tls

Enables native-tls and postgres-native-tls

native-tls:

Postgres dependencies

Affects gimbal_database_connection::init_postgres_raw_native_tls

postgres-openssl

Enables openssl and postgres-openssl

Affects gimbal_database_connection::init_postgres_raw_openssl

postgres-raw = postgres

Enables postgres-raw of gimbal_database and tokio-postgres

tokio-postgres dependencies

Affects gimbal_database_connection::init_postgres_raw_no_tls, gimbal_database_connection::init_postgres_raw_native_tls, gimbal_database_connection::init_postgres_raw_openssl

postgres-sqlx default = postgres, sqlx

Enables postgres-sqlx of gimbal_database, postgres and tls-rustls of sqlx

Affects gimbal_database_connection::init_postgres_sqlx

sqlite sqlite-rusqlite sqlite-sqlx

Enables tokio

sqlite-rusqlite default = sqlite

Enables sqlite-rusqlite of gimbal_database and rusqlite =0.32.1

DB Dependencies

Affects gimbal_database_connection::InitSqliteRusqliteError, gimbal_database_connection::init_sqlite_rusqlite

sqlite-sqlx default = sqlite, sqlx

Enables sqlite-sqlx of gimbal_database, sqlite of sqlx

Affects gimbal_database_connection::init_sqlite_sqlx, gimbal_database_connection::InitSqliteSqlxDatabaseError

simulator default

Enables simulator of gimbal_database