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 whenevertiny-orm
is added without
somewhere in the dependency tree.default-features = false - 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