# 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.93.0"
name = "spacetimedb-sql-parser"
version = "2.6.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The SpacetimeDB SQL AST and Parser"
readme = false
license-file = "LICENSE"

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

[dependencies.derive_more]
version = "0.99"

[dependencies.spacetimedb-lib]
version = "=2.6.0"
default-features = false

[dependencies.sqlparser]
version = "0.38.0"

[dependencies.thiserror]
version = "1.0.37"

[lints.clippy]
result_large_err = "allow"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(tokio_unstable)"]
