[package]
edition = "2024"
rust-version = "1.94.0"
name = "sea-query-sqlx"
version = "0.8.0"
authors = [
"Valentin Tolmer <valentin@tolmer.fr>",
"Ivan Krivosheev <py.krivosheev@gmail.com>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Driver library for using SeaQuery with SQLx"
documentation = "https://docs.rs/sea-query"
readme = false
keywords = [
"database",
"sql",
"mysql",
"postgres",
"sqlite",
]
categories = ["database"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/SeaQL/sea-query"
[package.metadata.docs.rs]
features = [
"sqlx-mysql",
"sqlx-postgres",
"sqlx-sqlite",
"sqlx-any",
"with-chrono",
"with-json",
"with-rust_decimal",
"with-bigdecimal",
"with-uuid",
"with-time",
"with-ipnetwork",
"with-mac_address",
"postgres-array",
"postgres-vector",
"runtime-tokio",
"tls-rustls",
]
[features]
postgres-array = ["sea-query/postgres-array"]
postgres-vector = [
"sea-query/postgres-vector",
"pgvector/sqlx",
]
runtime-actix = ["sqlx?/runtime-tokio"]
runtime-actix-native-tls = [
"runtime-actix",
"tls-native-tls",
]
runtime-actix-rustls = [
"runtime-actix",
"tls-rustls",
]
runtime-async-std = ["sqlx?/runtime-async-std"]
runtime-async-std-native-tls = [
"runtime-async-std",
"tls-native-tls",
]
runtime-async-std-rustls = [
"runtime-async-std",
"tls-rustls",
]
runtime-tokio = ["sqlx?/runtime-tokio"]
runtime-tokio-native-tls = [
"runtime-tokio",
"tls-native-tls",
]
runtime-tokio-rustls = [
"runtime-tokio",
"tls-rustls",
]
sqlx-any = ["sqlx/any"]
sqlx-mysql = ["sqlx/mysql"]
sqlx-postgres = [
"sqlx/postgres",
"sea-query/backend-postgres",
]
sqlx-sqlite = ["sqlx/sqlite"]
tls-native-tls = ["sqlx?/tls-native-tls"]
tls-none = ["sqlx?/tls-none"]
tls-rustls = ["sqlx?/tls-rustls"]
tls-rustls-aws-lc-rs = ["sqlx?/tls-rustls-aws-lc-rs"]
tls-rustls-ring = ["sqlx?/tls-rustls-ring"]
tls-rustls-ring-native-roots = ["sqlx?/tls-rustls-ring-native-roots"]
tls-rustls-ring-webpki = ["sqlx?/tls-rustls-ring-webpki"]
unimplemented-jiff-sqlx = []
unimplemented-jiff-sqlx-mysql = ["unimplemented-jiff-sqlx"]
with-bigdecimal = [
"sqlx?/bigdecimal",
"sea-query/with-bigdecimal",
]
with-chrono = [
"sqlx?/chrono",
"sea-query/with-chrono",
]
with-ipnetwork = [
"sqlx?/ipnetwork",
"sea-query/with-ipnetwork",
]
with-jiff = [
"sea-query/with-jiff",
"jiff",
]
with-json = [
"sqlx?/json",
"sea-query/with-json",
]
with-mac_address = [
"sqlx?/mac_address",
"sea-query/with-mac_address",
]
with-rust_decimal = [
"sqlx?/rust_decimal",
"sea-query/with-rust_decimal",
]
with-time = [
"sqlx?/time",
"sea-query/with-time",
]
with-uuid = [
"sqlx?/uuid",
"sea-query/with-uuid",
]
[lib]
name = "sea_query_sqlx"
path = "src/lib.rs"
[dependencies.ipnetwork]
version = "0.21.1"
optional = true
default-features = false
[dependencies.jiff]
version = "0.2.15"
features = [
"std",
"perf-inline",
]
optional = true
default-features = false
[dependencies.jiff-sqlx]
version = "0.1"
optional = true
[dependencies.pgvector]
version = "0.4.2"
optional = true
default-features = false
[dependencies.sea-query]
version = "1.0.0"
features = ["thread-safe"]
default-features = false
[dependencies.sqlx]
version = "0.9"
optional = true
default-features = false