queryweave-sql 0.1.0

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.1.0"
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"

[features]
default = ["merge-patch"]
merge-patch = ["queryweave/merge-patch"]

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

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

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

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

[dependencies.chrono]
version = "0.4.45"

[dependencies.mutants]
version = "0.0.4"

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

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

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

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

[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",
]

[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"