[package] name = "gramatika" version = "0.6.0" edition = "2021" authors = ["Danny McGee "] license = "MIT OR Apache-2.0" readme = "../../README.md" repository = "http://github.com/dannymcgee/gramatika" description = "A minimal toolkit for writing parsers with Rust" [dependencies] arcstr = { version = "1.1", features = ["substr"] } once_cell = { version = "1.8", optional = true } regex-automata = { version = "0.1", optional = true } [dependencies.gramatika-macro] version = "0.6.0" path = "../gramatika-macro" optional = true [features] default = ["macros"] macros = [ "gramatika-macro", "once_cell", "regex-automata", ] # Use `arcstr::Substr` instead of `arcstr::ArcStr` as the "source" type for # input text. This opens the possibility for some advanced use cases, like # using a different parser to process some portions of a text document. substr-source = []