Cargo Features

Canyon-SQL has no features set by default.

[dependencies]
canyon_sql = { version = "0.5.0", features = ["postgres", "mssql", "mysql", "migrations"] }
postgres = tokio-postgres

Enables postgres of canyon_connection, canyon_crud, canyon_macros, and canyon_migrations

canyon_connection:

Project crates

mssql = tiberius

Enables mssql of canyon_connection, canyon_crud, canyon_macros, and canyon_migrations

mysql = mysql_async, mysql_common

Enables mysql of canyon_connection, canyon_crud, canyon_macros, and canyon_migrations

migrations = canyon_migrations

Enables migrations of canyon_macros

Affects canyon_sql::migrations

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.

canyon_migrations migrations? mssql? mysql? postgres?
tokio-postgres postgres?

Enables tokio-postgres

To be marked as opt deps

tiberius mssql?
mysql_async mysql?

Enables mysql_async ^0.32.2

mysql_common mysql?

Enables mysql_common ^0.30.6