[package] name = "plex" version = "0.3.1" edition = "2018" authors = ["Geoffry Song "] description = "A syntax extension for writing lexers and parsers." homepage = "https://github.com/goffrie/plex" repository = "https://github.com/goffrie/plex" documentation = "https://docs.rs/plex" license = "MIT OR Apache-2.0" keywords = ["tokenizer", "scanner", "lexer", "parser", "generator"] [lib] name = "plex" proc-macro = true [features] default = ["lexer", "parser"] lexer = ["redfa"] parser = ["lalr"] [dependencies] lalr = { version = "0.0.2", optional = true } redfa = { version = "0.0.3", optional = true } syn = { version = "2.0", features = ["extra-traits", "full"] } proc-macro2 = { version = "1.0" } quote = "1.0" [dev-dependencies] trybuild = "1.0.85"