Cargo Features
canyon_crud has no features set by default.
[dependencies]
canyon_crud = { version = "0.5.0", features = ["postgres", "mssql", "mysql"] }
- postgres = tokio-postgres
-
Enables postgres of canyon_connection
Affects
bounds::RowOperations.get_postgres
,bounds::RowOperations.get_postgres_opt
,bounds::QueryParameter.as_postgres_param
,mapper::RowMapper.deserialize_postgresql
… - mssql = tiberius
-
Enables mssql of canyon_connection
Affects
bounds::RowOperations.get_mssql
,bounds::RowOperations.get_mssql_opt
,bounds::QueryParameter.as_sqlserver_param
,mapper::RowMapper.deserialize_sqlserver
… - mysql = mysql_async, mysql_common
-
Enables mysql of canyon_connection
Affects
bounds::RowOperations.get_mysql
,bounds::RowOperations.get_mysql_opt
,bounds::QueryParameter.as_mysql_param
,crud::DETECT_PARAMS_IN_QUERY
,crud::DETECT_QUOTE_IN_QUERY
,mapper::RowMapper.deserialize_mysql
…
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