[package]
name = "sqlglotrs"
version = "0.6.2"
edition = "2021"
license = "MIT"

[lib]
name = "sqlglotrs"
crate-type = ["cdylib", "rlib"]
bench = false

[[bench]]
name = "long"
harness = false

[features]
# Enable this feature to use the serde and serde_json crates for profiling purposes
default = []
profiling = ["serde", "serde_json"]

[dependencies]
pyo3 = {version ="0.25"}
rustc-hash = { version = "2.1" }

# Optional dependencies used for profiling
serde = { version = "1", features = ["derive"] , optional = true }
serde_json = { version = "1", optional = true }

[dev-dependencies]
criterion = "0.5"
serde = { version = "1", features = ["derive"]  }
serde_json = { version = "1" }
sqlglotrs = { path = "." , features = ["profiling"] }
pyo3 = { version = "0.25", features = ["auto-initialize"] }
