sqlglot-rust 0.9.16

A SQL parser, optimizer, and transpiler library inspired by Python's sqlglot
Documentation
# 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"
name = "sqlglot-rust"
version = "0.9.16"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A SQL parser, optimizer, and transpiler library inspired by Python's sqlglot"
homepage = "https://github.com/protegrity/sql-glot-rust"
documentation = "https://github.com/protegrity/sql-glot-rust/blob/master/docs/guide.md"
readme = "README.md"
keywords = [
    "sql",
    "parser",
    "transpiler",
    "ast",
    "database",
]
categories = [
    "parser-implementations",
    "database",
]
license = "MIT"
repository = "https://github.com/protegrity/sql-glot-rust"

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

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

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

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

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

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

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

[dependencies.log]
version = "0.4"

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

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

[dev-dependencies.pretty_assertions]
version = "1"