Cargo Features

[dependencies]
tiny-orm = { version = "0.5.1", default-features = false, features = ["sqlite", "postgres", "mysql", "sqlx-0.7", "set-option"] }
default = set-option

The set-option feature is set by default whenever tiny-orm is added without default-features = false somewhere in the dependency tree.

sqlite

Enables sqlite of sqlx, tiny-orm-macros, and tiny-orm-model

postgres

Enables postgres of sqlx, tiny-orm-macros, and tiny-orm-model

mysql

Enables mysql of sqlx, tiny-orm-macros, and tiny-orm-model

sqlx-0.7

Backward compatibility with sqlx 0.7.*

Enables sqlx-0.7 of tiny-orm-model

set-option default

To use the SetOption struct which skips fields in the update query when they are NotSet

Enables set-option of tiny-orm-model