Cargo Features

[dependencies]
db-derive = { version = "0.1.8", default-features = false, features = ["chrono", "json", "uuid", "postgresql", "postgresql-chrono", "postgresql-json", "postgresql-uuid", "sqlite", "sqlite-bundled", "sqlite-chrono", "sqlite-json", "sqlite-uuid"] }
default = postgresql, sqlite, sqlite-bundled

These default features are set whenever db-derive is added without default-features = false somewhere in the dependency tree.

chrono = postgresql-chrono, sqlite-chrono
json = postgresql-json, sqlite-json
uuid = postgresql-uuid, sqlite-uuid
postgresql default = postgres, postgres-types

Enables postgresql of db-derive-impl

Affects pool::postgres, sql::Sql.sql_postgres, sql::Sql.params_postgres, table::Schema.schema_postgres, table::Table.from_row_postgres, kind::Kind

postgresql-chrono chrono?

Enables with-chrono-0_4 of postgres ^0.17.0

postgresql-json json?

Enables with-serde_json-1 of postgres ^0.17.0

postgresql-uuid uuid?

Enables with-uuid-0_8 of postgres ^0.17.0

sqlite default = rusqlite

Enables sqlite of db-derive-impl

Affects pool::sqlite, sql::Sql.sql_sqlite, sql::Sql.params_sqlite, table::Schema.schema_sqlite, table::Table.from_row_sqlite, kind::Kind

sqlite-bundled default

Enables bundled of rusqlite ^0.21

sqlite-chrono chrono?

Enables chrono of rusqlite ^0.21

sqlite-json json?

Enables serde_json of rusqlite ^0.21

sqlite-uuid uuid?

Enables uuid of rusqlite ^0.21

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.

postgres postgresql postgresql-chrono? postgresql-json? postgresql-uuid?

Enables postgres ^0.17.0

postgres-types postgresql

Enables postgres-types ^0.1.0

rusqlite sqlite sqlite-bundled sqlite-chrono? sqlite-json? sqlite-uuid?

Enables rusqlite ^0.21