289 lines
5.3 KiB
TOML
289 lines
5.3 KiB
TOML
# 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.0"
|
|
name = "sea-query"
|
|
version = "1.0.1"
|
|
authors = [
|
|
"Chris Tsang <chris.2y3@outlook.com>",
|
|
"Billy Chan <ccw.billy.123@gmail.com>",
|
|
"Ivan Krivosheev <py.krivosheev@gmail.com>",
|
|
]
|
|
build = false
|
|
autolib = false
|
|
autobins = false
|
|
autoexamples = false
|
|
autotests = false
|
|
autobenches = false
|
|
description = "🔱 A dynamic query builder for MySQL, Postgres and SQLite"
|
|
documentation = "https://docs.rs/sea-query"
|
|
readme = "README.md"
|
|
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]
|
|
all-features = true
|
|
rustdoc-args = [
|
|
"--cfg",
|
|
"docsrs",
|
|
]
|
|
|
|
[features]
|
|
all-features = [
|
|
"all-types",
|
|
"attr",
|
|
"audit",
|
|
"backend-mysql",
|
|
"backend-postgres",
|
|
"backend-sqlite",
|
|
"derive",
|
|
"hashable-value",
|
|
"serde",
|
|
"sqlx-utils",
|
|
"thread-safe",
|
|
]
|
|
all-types = [
|
|
"postgres-array",
|
|
"postgres-interval",
|
|
"postgres-vector",
|
|
"postgres-range",
|
|
"with-chrono",
|
|
"with-json",
|
|
"with-rust_decimal",
|
|
"with-bigdecimal",
|
|
"with-uuid",
|
|
"with-time",
|
|
"with-jiff",
|
|
"with-ipnetwork",
|
|
"with-mac_address",
|
|
]
|
|
attr = ["sea-query-derive"]
|
|
audit = []
|
|
backend-mysql = []
|
|
backend-postgres = []
|
|
backend-sqlite = []
|
|
default = [
|
|
"derive",
|
|
"audit",
|
|
"backend-mysql",
|
|
"backend-postgres",
|
|
"backend-sqlite",
|
|
"itoa",
|
|
]
|
|
derive = ["sea-query-derive"]
|
|
hashable-value = ["ordered-float"]
|
|
itoa = ["dep:itoa"]
|
|
option-more-parentheses = []
|
|
option-postgres-use-serial = []
|
|
option-sqlite-exact-column-type = []
|
|
postgres-array = []
|
|
postgres-interval = []
|
|
postgres-range = ["sea-query-postgres-types/range"]
|
|
postgres-vector = ["pgvector"]
|
|
sea-orm = ["sea-query-derive"]
|
|
serde = [
|
|
"dep:serde",
|
|
"chrono?/serde",
|
|
"time?/serde",
|
|
"jiff?/serde",
|
|
"uuid?/serde",
|
|
"bigdecimal?/serde",
|
|
"rust_decimal?/serde",
|
|
"ipnetwork?/serde",
|
|
"mac_address?/serde",
|
|
"pgvector?/serde",
|
|
"sea-query-postgres-types?/serde",
|
|
]
|
|
sqlx-utils = ["derive"]
|
|
tests-cfg = []
|
|
thread-safe = []
|
|
with-bigdecimal = ["bigdecimal"]
|
|
with-chrono = ["chrono"]
|
|
with-ipnetwork = ["ipnetwork"]
|
|
with-jiff = ["jiff"]
|
|
with-json = ["serde_json"]
|
|
with-mac_address = ["mac_address"]
|
|
with-rust_decimal = ["rust_decimal"]
|
|
with-time = ["time"]
|
|
with-uuid = ["uuid"]
|
|
|
|
[lib]
|
|
name = "sea_query"
|
|
path = "src/lib.rs"
|
|
|
|
[[test]]
|
|
name = "common"
|
|
path = "tests/common.rs"
|
|
|
|
[[test]]
|
|
name = "option-more-parentheses"
|
|
path = "tests/more-parentheses.rs"
|
|
required-features = [
|
|
"tests-cfg",
|
|
"option-more-parentheses",
|
|
"backend-mysql",
|
|
]
|
|
|
|
[[test]]
|
|
name = "test-derive"
|
|
path = "tests/derive.rs"
|
|
required-features = ["derive"]
|
|
|
|
[[test]]
|
|
name = "test-error"
|
|
path = "tests/error.rs"
|
|
required-features = ["tests-cfg"]
|
|
|
|
[[test]]
|
|
name = "test-mysql"
|
|
path = "tests/mysql/mod.rs"
|
|
required-features = [
|
|
"tests-cfg",
|
|
"backend-mysql",
|
|
"audit",
|
|
]
|
|
|
|
[[test]]
|
|
name = "test-postgres"
|
|
path = "tests/postgres/mod.rs"
|
|
required-features = [
|
|
"tests-cfg",
|
|
"backend-postgres",
|
|
"audit",
|
|
]
|
|
|
|
[[test]]
|
|
name = "test-raw-sql"
|
|
path = "tests/raw_sql.rs"
|
|
required-features = ["derive"]
|
|
|
|
[[test]]
|
|
name = "test-sqlite"
|
|
path = "tests/sqlite/mod.rs"
|
|
required-features = [
|
|
"tests-cfg",
|
|
"backend-sqlite",
|
|
"audit",
|
|
]
|
|
|
|
[[bench]]
|
|
name = "basic"
|
|
path = "benches/basic.rs"
|
|
harness = false
|
|
|
|
[[bench]]
|
|
name = "value"
|
|
path = "benches/value.rs"
|
|
harness = false
|
|
|
|
[dependencies.bigdecimal]
|
|
version = "0.4"
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dependencies.chrono]
|
|
version = "0.4.40"
|
|
features = ["clock"]
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dependencies.ipnetwork]
|
|
version = "0.21.1"
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dependencies.itoa]
|
|
version = "1.0.15"
|
|
optional = true
|
|
|
|
[dependencies.jiff]
|
|
version = "0.2.15"
|
|
features = [
|
|
"std",
|
|
"perf-inline",
|
|
]
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dependencies.mac_address]
|
|
version = "1.1"
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dependencies.ordered-float]
|
|
version = "4.6"
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dependencies.pgvector]
|
|
version = "0.4"
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dependencies.rust_decimal]
|
|
version = "1"
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dependencies.sea-query-derive]
|
|
version = "1.0.0"
|
|
optional = true
|
|
|
|
[dependencies.sea-query-postgres-types]
|
|
version = "0.1.1"
|
|
optional = true
|
|
|
|
[dependencies.serde]
|
|
version = "1"
|
|
features = [
|
|
"std",
|
|
"derive",
|
|
"rc",
|
|
]
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dependencies.serde_json]
|
|
version = "1"
|
|
features = ["std"]
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dependencies.time]
|
|
version = "0.3.47"
|
|
features = [
|
|
"macros",
|
|
"formatting",
|
|
]
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dependencies.uuid]
|
|
version = "1"
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dev-dependencies.criterion]
|
|
version = "0.3"
|
|
|
|
[dev-dependencies.pretty_assertions]
|
|
version = "1"
|