[package]
edition = "2021"
name = "dbkit"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Postgres-first async ORM-ish library with type-level loaded/unloaded relations."
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/alexeichhorn/rust-dbkit"
[features]
default = []
migrations = ["sqlx/migrate"]
[lib]
name = "dbkit"
path = "src/lib.rs"
[[test]]
name = "active_update_partial"
path = "tests/active_update_partial.rs"
[[test]]
name = "arithmetic_integration"
path = "tests/arithmetic_integration.rs"
[[test]]
name = "arithmetic_support"
path = "tests/arithmetic_support.rs"
[[test]]
name = "derive_ui"
path = "tests/derive_ui.rs"
harness = false
[[test]]
name = "enum_sql_support"
path = "tests/enum_sql_support.rs"
[[test]]
name = "integration_column_compare_api"
path = "tests/integration_column_compare_api.rs"
[[test]]
name = "integration_db_enum"
path = "tests/integration_db_enum.rs"
[[test]]
name = "integration_interval"
path = "tests/integration_interval.rs"
[[test]]
name = "integration_pgvector"
path = "tests/integration_pgvector.rs"
[[test]]
name = "integration_postgres"
path = "tests/integration_postgres.rs"
[[test]]
name = "joined_sql"
path = "tests/joined_sql.rs"
[[test]]
name = "lock_scope_sql"
path = "tests/lock_scope_sql.rs"
[[test]]
name = "migrations"
path = "tests/migrations.rs"
[[test]]
name = "one_limit"
path = "tests/one_limit.rs"
[[test]]
name = "timestamptz_support"
path = "tests/timestamptz_support.rs"
[[test]]
name = "type_support"
path = "tests/type_support.rs"
[[test]]
name = "vector_support"
path = "tests/vector_support.rs"
[dependencies.dbkit-core]
version = "0.2.0"
[dependencies.dbkit-derive]
version = "0.2.0"
[dependencies.serde_json]
version = "1.0.149"
[dependencies.sqlx]
version = "0.8"
features = [
"runtime-tokio-rustls",
"postgres",
"uuid",
"chrono",
"json",
"macros",
"bigdecimal",
]
default-features = false
[dependencies.thiserror]
version = "1"
[dependencies.tokio]
version = "1"
features = ["sync"]
[dev-dependencies.chrono]
version = "0.4"
[dev-dependencies.dotenvy]
version = "0.15"
[dev-dependencies.serde_json]
version = "1.0.149"
[dev-dependencies.tokio]
version = "1"
features = [
"macros",
"rt-multi-thread",
]
[dev-dependencies.ui_test]
version = "0.30"
[dev-dependencies.uuid]
version = "1"