# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies # # If you believe there's an error in this file please file an # issue against the rust-lang/cargo repository. If you're # editing this file be aware that the upstream Cargo.toml # will likely look very different (and much more reasonable) [package] edition = "2018" name = "nlprule" version = "0.6.4" authors = ["Benjamin Minixhofer "] description = "A fast, low-resource Natural Language Processing and Error Correction library." keywords = ["text", "spelling", "language-processing", "nlp", "grammar"] categories = ["science", "text-processing"] license = "MIT OR Apache-2.0" repository = "https://github.com/bminixhofer/nlprule" [[bin]] name = "compile" required-features = ["compile", "bin"] [[bin]] name = "test" required-features = ["bin"] [[bin]] name = "run" required-features = ["bin"] [[bin]] name = "test_disambiguation" required-features = ["bin"] [[bench]] name = "load" harness = false [dependencies.aho-corasick] version = "0.7" [dependencies.bimap] version = "0.6" features = ["serde"] [dependencies.bincode] version = "1.3" [dependencies.cfg-if] version = "1" [dependencies.clap] version = "3.0.0-beta.1" optional = true [dependencies.derivative] version = "2.2" [dependencies.either] version = "1.6" features = ["serde"] [dependencies.enum_dispatch] version = "0.3" [dependencies.env_logger] version = "0.8" optional = true [dependencies.fancy-regex] version = "0.5" optional = true [dependencies.fs-err] version = "2.5" [dependencies.fst] version = "0.4" [dependencies.half] version = "1.7" features = ["serde"] [dependencies.itertools] version = "0.10" [dependencies.lazy_static] version = "1.4" [dependencies.log] version = "0.4" [dependencies.once_cell] version = "1" [dependencies.onig] version = "6.1" optional = true default_features = false [dependencies.rayon] version = "1.5" [dependencies.rayon-cond] version = "0.1" [dependencies.regex-syntax] version = "0.6" optional = true [dependencies.roxmltree] version = "0.14.0" optional = true [dependencies.serde] version = "1.0" features = ["derive", "rc"] [dependencies.serde-xml-rs] version = "0.4" optional = true [dependencies.serde_json] version = "1" optional = true [dependencies.srx] version = "^0.1.3" features = ["serde"] [dependencies.thiserror] version = "1" [dependencies.unicase] version = "2.6" [dependencies.xml-rs] version = "0.8" optional = true [dev-dependencies.criterion] version = "0.3" [dev-dependencies.quickcheck] version = "1.0" [dev-dependencies.quickcheck_macros] version = "1.0" [build-dependencies.fs-err] version = "2.5" [build-dependencies.serde_json] version = "1" [features] bin = ["clap", "env_logger"] compile = ["regex-syntax", "serde-xml-rs", "xml-rs", "roxmltree", "serde_json", "srx/from_xml", "regex-all-test"] default = ["regex-onig"] regex-all-test = ["regex-onig", "regex-fancy"] regex-fancy = ["fancy-regex"] regex-onig = ["onig"]