[package]
name = "sqruff-lib-core"
description = "Core library that underpins the sqruff library."
version.workspace = true
repository.workspace = true
edition.workspace = true
license.workspace = true
[lints]
workspace = true
[lib]
crate-type = ["cdylib", "rlib"]
[features]
serde = ["dep:serde"]
stringify = ["dep:serde_yaml", "serde"]
[dependencies]
smol_str = "0.3.1"
ahash = { version = "0.8.11", features = ["compile-time-rng", "serde"] }
strum.workspace = true
strum_macros.workspace = true
indexmap = "2.7.0"
nohash-hasher = "0.2.0"
itertools = "0.13.0"
fancy-regex = "0.14.0"
pretty_assertions = "1.4.0"
serde = { version = "1.0", features = ["derive"], optional = true }
serde_yaml = { version = "0.9.34", optional = true }
rustc-hash = "2.1.0"
sptr = "0.3.2"
slyce = "0.3.1"
enum_dispatch = "0.3.13"
regex-automata = { version = "0.4.9", features = ["perf"] }
[dev-dependencies]
serde = { version = "1.0", features = ["derive"] }