queryweave-sql 0.2.1

The SQL runtime of queryweave: database-agnostic sqlx query building (WHERE, ORDER BY, LIMIT/OFFSET, SET) from the data queryweave's derives generate.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.88"
name = "queryweave-sql"
version = "0.2.1"
authors = ["Eduard Mihai Mitrică"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The SQL runtime of queryweave: database-agnostic sqlx query building (WHERE, ORDER BY, LIMIT/OFFSET, SET) from the data queryweave's derives generate."
readme = "README.md"
keywords = [
    "sqlx",
    "sql",
    "filter",
    "pagination",
    "query",
]
categories = ["database"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/eduardmitrica/queryweave"
resolver = "2"

[package.metadata.docs.rs]
all-features = true

[features]
default = [
    "merge-patch",
    "sqlx",
]
diesel = [
    "dep:diesel",
    "dep:chrono",
]
diesel-mysql = [
    "diesel",
    "diesel/mysql_backend",
]
diesel-postgres = [
    "diesel",
    "diesel/postgres_backend",
]
diesel-sqlite = [
    "diesel",
    "diesel/sqlite",
]
merge-patch = ["queryweave/merge-patch"]
sea-query = ["dep:sea-query"]
sqlx = [
    "dep:sqlx",
    "dep:chrono",
]

[lib]
name = "queryweave_sql"
path = "src/lib.rs"

[[test]]
name = "diesel_mysql"
path = "tests/diesel_mysql.rs"
required-features = ["diesel-mysql"]

[[test]]
name = "diesel_postgres"
path = "tests/diesel_postgres.rs"
required-features = ["diesel-postgres"]

[[test]]
name = "diesel_sqlite"
path = "tests/diesel_sqlite.rs"
required-features = ["diesel-sqlite"]

[[test]]
name = "mysql"
path = "tests/mysql.rs"
required-features = ["sqlx"]

[[test]]
name = "postgres"
path = "tests/postgres.rs"
required-features = ["sqlx"]

[[test]]
name = "sea_query_sqlite"
path = "tests/sea_query_sqlite.rs"
required-features = ["sea-query"]

[[test]]
name = "sqlite"
path = "tests/sqlite.rs"
required-features = ["sqlx"]

[[test]]
name = "ui"
path = "tests/ui.rs"

[dependencies.chrono]
version = "0.4.45"
optional = true

[dependencies.diesel]
version = "2.3.14"
features = ["chrono"]
optional = true
default-features = false

[dependencies.mutants]
version = "0.0.4"

[dependencies.queryweave]
version = "0.2.1"
default-features = false

[dependencies.sea-query]
version = "1.0.2"
features = ["with-chrono"]
optional = true
default-features = false

[dependencies.sqlx]
version = "0.8.6"
optional = true
default-features = false

[dev-dependencies.chrono]
version = "0.4.45"

[dev-dependencies.diesel]
version = "2.3.14"
features = [
    "sqlite",
    "postgres_backend",
    "mysql_backend",
    "chrono",
]
default-features = false

[dev-dependencies.diesel-async]
version = "0.9.2"
features = [
    "postgres",
    "mysql",
]
default-features = false

[dev-dependencies.libsqlite3-sys]
version = "0.30.1"
features = ["bundled"]

[dev-dependencies.pretty_assertions]
version = "1.4.1"

[dev-dependencies.rstest]
version = "0.26.1"

[dev-dependencies.sea-query]
version = "1.0.2"
features = [
    "backend-postgres",
    "backend-mysql",
    "backend-sqlite",
    "with-chrono",
]
default-features = false

[dev-dependencies.sea-query-sqlx]
version = "0.8.1"
features = [
    "sqlx-sqlite",
    "with-chrono",
]
default-features = false

[dev-dependencies.sqlx]
version = "0.8.6"
features = [
    "runtime-tokio",
    "postgres",
    "mysql",
    "sqlite",
    "chrono",
]
default-features = false

[dev-dependencies.testcontainers]
version = "0.26.3"

[dev-dependencies.tokio]
version = "1.53.2"
features = [
    "macros",
    "rt-multi-thread",
    "macros",
    "rt-multi-thread",
]

[dev-dependencies.trybuild]
version = "1.0.121"

[lints.clippy]
dbg_macro = "warn"
expect_used = "deny"
indexing_slicing = "deny"
panic = "deny"
redundant_field_names = "allow"
todo = "warn"

[lints.clippy.all]
level = "warn"
priority = -1

[lints.clippy.nursery]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.clippy.unwrap_used]
level = "deny"
priority = 1

[lints.clippy.wildcard_imports]
level = "deny"
priority = 1

[lints.rust]
dead_code = "warn"
missing_docs = "warn"
unreachable_code = "warn"
unsafe_code = "forbid"
unused_variables = "warn"