chain-builder 3.1.0

A typed, dialect-aware SQL query builder for Rust (PostgreSQL/MySQL/SQLite).
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 = "2021"
name = "chain-builder"
version = "3.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A typed, dialect-aware SQL query builder for Rust (PostgreSQL/MySQL/SQLite)."
readme = "README.md"
keywords = [
    "database",
    "sql",
    "query",
    "builder",
    "sqlx",
]
categories = [
    "database",
    "database-implementations",
]
license = "MIT"
repository = "https://github.com/AssetsArt/chain-builder.git"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
chrono = [
    "dep:chrono",
    "sqlx/chrono",
]
decimal = [
    "dep:rust_decimal",
    "sqlx/rust_decimal",
]
default = ["sqlx_mysql"]
json = ["dep:serde_json"]
sqlx_mysql = ["sqlx/mysql"]
sqlx_postgres = ["sqlx/postgres"]
sqlx_sqlite = ["sqlx/sqlite"]
uuid = [
    "dep:uuid",
    "sqlx/uuid",
]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.chrono]
version = "0.4"
features = ["clock"]
optional = true
default-features = false

[dependencies.rust_decimal]
version = "1"
optional = true

[dependencies.serde_json]
version = "1"
optional = true

[dependencies.sqlx]
version = "0.9"

[dependencies.uuid]
version = "1"
optional = true

[dev-dependencies.sqlx]
version = "0.9"
features = [
    "mysql",
    "sqlite",
    "postgres",
    "runtime-tokio",
    "tls-rustls",
]

[dev-dependencies.tokio]
version = "1"
features = [
    "rt",
    "macros",
]