Cargo Features

derive-sql has no features set by default.

[dependencies]
derive-sql = { version = "0.12.1", features = ["sqlite", "mysql", "compatibility_v0_10"] }

Dev derive-sql-mysql = { path = "../extras/derive-sql-mysql", optional = true }

sqlite = derive-sql-sqlite, fallible-iterator, rusqlite

Affects proxy::sqlite

mysql = derive-sql-mysql, mysql_common

Enables mysql

Affects proxy::mysql

compatibility_v0_10 = derive-sql-mysql, derive-sql-sqlite

Affects generics::paginate, derive-sql::generics, mysql::MysqlTrait, mysql::MysqlProxy, sqlite::SqliteTrait, traits::AsStatement, traits::IsSelect, traits::Select, traits::CreateTable

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.

rusqlite sqlite?
fallible-iterator sqlite?
mysql_common mysql?
derive-sql-sqlite compatibility_v0_10? sqlite?

Enables derive-sql-sqlite

Dev derive-sql-statement = { path = "../extras/derive-sql-statement" }

derive-sql-mysql compatibility_v0_10? mysql?

Enables derive-sql-mysql

Dev derive-sql-sqlite = { path = "../extras/derive-sql-sqlite", optional = true }