[package] description = "A parser for the PRQL query language." name = "prql-parser" edition.workspace = true license.workspace = true repository.workspace = true rust-version.workspace = true version.workspace = true [lib] doctest = false [dependencies] itertools = "0.11.0" prql-ast = {path = "../prql-ast", version = "0.9.5" } semver = {version = "1.0.18"} # Chumsky's default features have issues when running in wasm (though we only # see it when compiling on MacOS), so we only include features when running # outside wasm. [target.'cfg(not(target_family="wasm"))'.dependencies] chumsky = "0.9.2" [target.'cfg(target_family="wasm")'.dependencies] chumsky = {version = "0.9.2", features = ["ahash", "std"], default-features = false} [dev-dependencies] insta = {version = "1.31", features = ["colors", "glob", "yaml"]}