# # Copyright © 2019-today Peter M. Stahl pemistahl@gmail.com # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either expressed or implied. # See the License for the specific language governing permissions and # limitations under the License. [package] name = "grex" version = "1.4.5" authors = ["Peter M. Stahl "] description = """ grex generates regular expressions from user-provided test cases. """ homepage = "https://github.com/pemistahl/grex" repository = "https://github.com/pemistahl/grex" documentation = "https://docs.rs/grex" license = "Apache-2.0" readme = "README.md" edition = "2021" categories = ["command-line-utilities", "parsing"] keywords = ["pattern", "regex", "regexp"] [lib] crate-type = ["cdylib", "rlib"] [dependencies] itertools = "0.12.1" lazy_static = "1.4.0" ndarray = "0.15.6" petgraph = {version = "0.6.4", default-features = false, features = ["stable_graph"]} regex = "1.10.3" unic-char-range = "0.9.0" unic-ucd-category = "0.9.0" unicode-segmentation = "1.11.0" [target.'cfg(not(target_family = "wasm"))'.dependencies] clap = {version = "4.5.1", features = ["derive", "wrap_help"], optional = true} pyo3 = {version = "0.20.3", optional = true} [target.'cfg(target_family = "wasm")'.dependencies] wasm-bindgen = "0.2.92" [dev-dependencies] indoc = "2.0.4" rstest = "0.18.2" [target.'cfg(not(target_family = "wasm"))'.dev-dependencies] assert_cmd = "2.0.14" criterion = "0.5.1" predicates = "3.1.0" proptest = "1.4.0" tempfile = "3.10.1" [target.'cfg(target_family = "wasm")'.dev-dependencies] wasm-bindgen-test = "0.3.42" [features] default = ["cli"] cli = ["clap"] python = ["pyo3"] [[bench]] name = "benchmark" harness = false [profile.bench] debug = true