# 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"
rust-version = "1.75"
name = "citadeldb-sql"
version = "0.8.1"
authors = ["Yuriy Peysakhov"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "SQL parser, planner, and executor for Citadel encrypted database"
homepage = "https://citadeldb.dev"
readme = "README.md"
keywords = [
    "database",
    "embedded-database",
    "encryption",
    "sql",
    "encrypted-database",
]
categories = [
    "database-implementations",
    "cryptography",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/yp3y5akh0v/citadel"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[[bench]]
name = "h2h_bench"
path = "benches/h2h_bench.rs"
harness = false

[dependencies.citadel]
version = "0.8.1"
package = "citadeldb"

[dependencies.citadel-core]
version = "0.8.1"
package = "citadeldb-core"

[dependencies.citadel-txn]
version = "0.8.1"
package = "citadeldb-txn"

[dependencies.compact_str]
version = "0.8"

[dependencies.jiff]
version = "0.2"
features = [
    "std",
    "alloc",
    "serde",
    "perf-inline",
    "tz-system",
    "tzdb-zoneinfo",
    "tzdb-bundle-platform",
]
default-features = false

[dependencies.lru]
version = "0.12"

[dependencies.rustc-hash]
version = "2.1"

[dependencies.sqlparser]
version = "0.61"

[dependencies.thiserror]
version = "2.0"

[dev-dependencies.citadel-crypto]
version = "0.8.1"
package = "citadeldb-crypto"

[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]

[dev-dependencies.mimalloc]
version = "0.1"

[dev-dependencies.rand]
version = "0.8"

[dev-dependencies.rusqlite]
version = "0.39"
features = ["bundled"]

[dev-dependencies.tempfile]
version = "3"

[target.'cfg(target_arch = "wasm32")'.dependencies.jiff]
version = "0.2"
features = [
    "std",
    "alloc",
    "serde",
    "perf-inline",
    "tz-system",
    "tzdb-zoneinfo",
    "tzdb-bundle-platform",
    "js",
]
default-features = false
