[package] name = "parol_runtime" version = "1.0.2" authors = ["Jörg Singer "] description = "Runtime library for parsers generated by the 'parol' parser generator." documentation = "https://docs.rs/parol_runtime" repository = "https://github.com/jsinger67/parol/tree/main/crates/parol_runtime" readme = "README.md" keywords = ["parser", "runtime"] categories = ["algorithms", "parsing"] license = "MIT OR Apache-2.0" edition = "2018" [dependencies] anyhow = { workspace = true } codespan-reporting = "0.11.1" derive_builder = { workspace = true } function_name = { workspace = true } log = { workspace = true } once_cell = { workspace = true } parol-macros = { path = "../parol-macros", version = "1.0.0", optional = true } petgraph = { workspace = true } regex-automata = "0.4.9" syntree = { workspace = true } syntree_layout = { workspace = true } thiserror = { workspace = true } [dev-dependencies] criterion = "0.5.1" env_logger = "0.11.5" quickcheck = "1.0.3" quickcheck_macros = "1.0.0" [[bench]] name = "lexer_benchmark" harness = false [features] default = [] # Auto generation mode requires these crates. auto_generation = ["parol-macros"] # Features to statically disable log levels in binary crates during compile time. # Avoid using them in libraries. # See https://docs.rs/log/0.4.17/log/#compile-time-filters for details. max_level_off = ["log/max_level_off"] max_level_error = ["log/max_level_error"] max_level_warn = ["log/max_level_warn"] max_level_info = ["log/max_level_info"] max_level_debug = ["log/max_level_debug"] max_level_trace = ["log/max_level_trace"] release_max_level_off = ["log/release_max_level_off"] release_max_level_error = ["log/release_max_level_error"] release_max_level_warn = ["log/release_max_level_warn"] release_max_level_info = ["log/release_max_level_info"] release_max_level_debug = ["log/release_max_level_debug"] release_max_level_trace = ["log/release_max_level_trace"]