[package]
edition = "2021"
name = "sqlx-paginated"
version = "0.3.1"
authors = ["@alexandrughinea"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A flexible, type-safe SQLx query builder for dynamic web APIs, offering seamless pagination, searching, filtering, and sorting."
documentation = "https://docs.rs/sqlx-paginated"
readme = "README.md"
license = "MIT"
repository = "https://github.com/alexandrughinea/sqlx-paginated"
[features]
default = ["postgres"]
mysql = ["sqlx/mysql"]
postgres = ["sqlx/postgres"]
sqlite = ["sqlx/sqlite"]
tracing = ["tracing/default"]
[lib]
name = "sqlx_paginated"
path = "src/lib.rs"
[[test]]
name = "end_to_end"
path = "tests/end_to_end.rs"
[[test]]
name = "integration"
path = "tests/integration.rs"
[dependencies.chrono]
version = "0.4.42"
features = ["serde"]
[dependencies.serde]
version = "1.0.228"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.148"
[dependencies.sqlx]
version = "0.8.6"
features = [
"runtime-tokio-rustls",
"macros",
"postgres",
"sqlite",
"uuid",
"chrono",
"json",
]
default-features = false
[dependencies.tokio]
version = "1.47.1"
[dependencies.tracing]
version = "0.1.44"
default-features = false
[dev-dependencies.tokio]
version = "1.47.1"
features = [
"macros",
"rt-multi-thread",
]