[package]
name = "partiql-parser"
description = "PartiQL Parser"
authors.workspace = true
homepage.workspace = true
repository.workspace = true
license = "Apache-2.0"
readme = "../README.md"
keywords = ["sql", "parser", "query", "compilers", "interpreters"]
categories = ["database", "compilers", "parser-implementations"]
exclude = [
"**/.git/**",
"**/.github/**",
"**/.travis.yml",
"**/.appveyor.yml",
]
version.workspace = true
edition.workspace = true
[lib]
bench = false
[build-dependencies]
lalrpop = "0.20"
[dependencies]
partiql-ast = { path = "../partiql-ast", version = "0.7.*" }
partiql-source-map = { path = "../partiql-source-map", version = "0.7.*" }
thiserror = "1.0"
num-traits = "~0.2.14"
num-bigint = "~0.4.0"
bigdecimal = "~0.2.0"
rust_decimal = { version = "1.25.0", default-features = false, features = ["std"] }
bitflags = "2"
lalrpop-util = "0.20"
logos = "0.12"
itertools = "~0.10.3"
regex = "1.7"
once_cell = "1"
serde = { version = "1.*", features = ["derive"], optional = true }
[dev-dependencies]
criterion = "0.4"
[features]
default = []
serde = [
"dep:serde",
"rust_decimal/serde-with-str",
"partiql-ast/serde",
"partiql-source-map/serde"
]
[[bench]]
name = "bench_parse"
harness = false