# 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.94"
name = "nodedb-sql"
version = "0.1.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "SQL parser, planner, and optimizer for NodeDB"
homepage = "https://nodedb.dev"
documentation = "https://docs.rs/nodedb-sql"
readme = "README.md"
keywords = [
    "sql",
    "planner",
    "parser",
    "postgres",
    "query",
]
categories = [
    "database",
    "parser-implementations",
]
license = "Apache-2.0"
repository = "https://github.com/NodeDB-Lab/nodedb"
resolver = "2"

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

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

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

[dependencies.chrono]
version = "0.4"
features = ["std"]
default-features = false

[dependencies.nodedb-query]
version = "0.1"

[dependencies.nodedb-spatial]
version = "0.1"

[dependencies.nodedb-types]
version = "0.1"

[dependencies.rust_decimal]
version = "1"
features = ["serde-with-str"]

[dependencies.sonic-rs]
version = "0.5"

[dependencies.sqlparser]
version = "0.61"
features = ["visitor"]

[dependencies.thiserror]
version = "2.0"
