[package]
name = "db-derive"
version = "0.1.8"
authors = ["Txuritan <txuritan@protonmail.com>"]
license = "MIT/Apache-2.0"
description = "PostgreSQL/SQLite pooling derive system"
readme = "../README.md"
documentation = "https://docs.rs/db-derive"
repository = "https://gitlab.com/Txuritan/db-derive"
edition = "2018"
workspace = ".."
[features]
default = ["postgresql", "sqlite", "sqlite-bundled"]
chrono = ["postgresql-chrono", "sqlite-chrono"]
json = ["postgresql-json", "sqlite-json"]
uuid = ["postgresql-uuid", "sqlite-uuid"]
postgresql = ["postgres", "postgres-types", "db-derive-impl/postgresql"]
postgresql-chrono = ["postgres/with-chrono-0_4"]
postgresql-json = ["postgres/with-serde_json-1"]
postgresql-uuid = ["postgres/with-uuid-0_8"]
sqlite = ["rusqlite", "db-derive-impl/sqlite"]
sqlite-bundled = ["rusqlite/bundled"]
sqlite-chrono = ["rusqlite/chrono"]
sqlite-json = ["rusqlite/serde_json"]
sqlite-uuid = ["rusqlite/uuid"]
[dependencies]
db-derive-impl = { path = "../db-derive-impl", version = "0.1" }
r2d2 = "0.8"
postgres = { version = "0.17.0", optional = true }
postgres-types = { version = "0.1.0", optional = true }
rusqlite = { version = "0.21", optional = true }