sea-query 0.26.3

🌊 A dynamic query builder for MySQL, Postgres and SQLite
Documentation
[workspace]
members = [
    ".",
    "sea-query-derive",
    "sea-query-driver",
    "sea-query-binder",
    "examples/postgres",
    "examples/postgres_json",
    "examples/rusqlite",
    "examples/sqlx_any",
    "examples/sqlx_mysql",
    "examples/sqlx_postgres",
    "examples/sqlx_sqlite",
]

[package]
name = "sea-query"
version = "0.26.3"
authors = [
    "Chris Tsang <tyt2y7@gmail.com>",
    "Billy Chan <ccw.billy.123@gmail.com>",
]
edition = "2021"
description = "🌊 A dynamic query builder for MySQL, Postgres and SQLite"
license = "MIT OR Apache-2.0"
documentation = "https://docs.rs/sea-query"
repository = "https://github.com/SeaQL/sea-query"
categories = ["database"]
keywords = ["database", "sql", "mysql", "postgres", "sqlite"]
rust-version = "1.60"

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

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

[dependencies]
sea-query-attr = { version = "^0.1.1", path = "sea-query-attr", optional = true }
sea-query-derive = { version = "^0.2.0", path = "sea-query-derive", optional = true }
sea-query-driver = { version = "^0.2.0", path = "sea-query-driver", optional = true }
serde_json = { version = "^1", optional = true }
bytes = { version = "^1", optional = true }
chrono = { version = "^0", default-features = false, features = ["clock"], optional = true }
postgres-types = { version = "^0", optional = true }
rust_decimal = { version = "^1", optional = true }
bigdecimal = { version = "^0.3", optional = true }
uuid = { version = "^1", optional = true }
proc-macro2 = { version = "1", optional = true }
quote = { version = "^1", optional = true }
time = { version = "^0.3", optional = true, features = ["macros", "formatting"] }
ipnetwork = { version = "^0.19", optional = true }
mac_address = { version = "^1.1", optional = true }

[dev-dependencies]
criterion = { version = "0.3", features = ["html_reports"] }
pretty_assertions = { version = "^1" }

[features]
backend-mysql = []
backend-postgres = []
backend-sqlite = []
default = ["derive", "backend-mysql", "backend-postgres", "backend-sqlite"]
derive = ["sea-query-derive"]
attr = ["sea-query-attr"]
postgres = ["bytes", "postgres-types"]
postgres-rust_decimal = ["with-rust_decimal", "rust_decimal/db-postgres"]
postgres-array = ["postgres-types?/array-impls", "sea-query-driver?/postgres-array"]
postgres-interval = ["proc-macro2", "quote"]
rusqlite = ["sea-query-driver/rusqlite"]
sqlx-mysql = ["sea-query-driver/sqlx-mysql"]
sqlx-postgres = ["sea-query-driver/sqlx-postgres"]
sqlx-sqlite = ["sea-query-driver/sqlx-sqlite"]
thread-safe = []
with-chrono = ["chrono", "sea-query-driver?/with-chrono", "postgres-types?/with-chrono-0_4"]
with-json = ["serde_json", "sea-query-driver?/with-json", "postgres-types?/with-serde_json-1"]
with-rust_decimal = ["rust_decimal", "sea-query-driver?/with-rust_decimal"]
with-bigdecimal = ["bigdecimal", "sea-query-driver?/with-bigdecimal"]
with-uuid = ["uuid", "sea-query-driver?/with-uuid", "postgres-types?/with-uuid-1"]
with-time = ["time", "sea-query-driver?/with-time", "postgres-types?/with-time-0_3"]
with-ipnetwork = ["ipnetwork", "sea-query-driver?/with-ipnetwork"]
with-mac_address = ["mac_address", "sea-query-driver?/with-mac_address"]

[[test]]
name = "test-derive"
path = "tests/derive/mod.rs"
required-features = ["derive"]

[[test]]
name = "test-error"
path = "tests/error/mod.rs"
required-features = []

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

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

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

[[bench]]
name = "basic"
harness = false