Cargo Features

canyon_migrations has no features set by default.

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

Enables postgres of canyon_connection and canyon_crud

Affects constants::postgresql_queries, constants::postgresql_type, transforms::to_postgres_syntax, transforms::to_postgres_alter_syntax

mssql = tiberius

Enables mssql of canyon_connection and canyon_crud

Affects constants::mssql_queries, constants::sqlserver_type, transforms::to_sqlserver_syntax, transforms::to_sqlserver_alter_syntax

mysql = mysql_async, mysql_common

Enables mysql of canyon_connection and canyon_crud

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.

tokio-postgres postgres?
tiberius mssql?
mysql_async mysql?

Enables mysql_async ^0.32.2

mysql_common mysql?

Enables mysql_common ^0.30.6