Cargo Features

[dependencies]
rusticx = { version = "0.1.3", default-features = false, features = ["full", "postgres-support", "mysql-support", "sqlite-support", "uuid"] }
default = postgres-support

The postgres-support feature is set by default whenever rusticx is added without default-features = false somewhere in the dependency tree.

full = mysql-support, postgres-support, sqlite-support, uuid
postgres-support default full? = postgres, tokio-postgres
mysql-support full? = mysql
sqlite-support full? = rusqlite
uuid full?

Enables uuid

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

postgres postgres-support

Enables postgres

For PostgreSQL

Affects transaction_manager::PostgresTransactionExecutor, transaction_manager::pg_row_value_to_json

tokio-postgres postgres-support
mysql mysql-support?

Enables mysql

For MySQL

Affects transaction_manager::MySQLTransactionExecutor, transaction_manager::mysql_row_value_to_json

rusqlite sqlite-support?

Enables rusqlite

For SQLite

Affects transaction_manager::SQLiteTransactionExecutor, transaction_manager::sqlite_row_value_to_json