# 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 are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2018" name = "srx" version = "0.1.4" authors = ["Benjamin Minixhofer "] description = "A mostly compliant Rust implementation of the Segmentation Rules eXchange (SRX) 2.0 standard for text segmentation." documentation = "https://docs.rs/srx" readme = "README.md" license = "MIT OR Apache-2.0" repository = "https://github.com/bminixhofer/srx" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [[bench]] name = "bench" harness = false [dependencies.regex] version = "1" [dependencies.serde-xml-rs] version = "0.4" optional = true [dependencies.serde_crate] version = "1" features = ["derive"] optional = true package = "serde" [dependencies.serde_regex] version = "1" optional = true [dependencies.thiserror] version = "1" optional = true [dev-dependencies.bincode] version = "1" [dev-dependencies.criterion] version = "0.3" [dev-dependencies.quickcheck] version = "1" [dev-dependencies.quickcheck_macros] version = "1" [features] from_xml = [ "serde", "serde-xml-rs", "thiserror", ] serde = [ "serde_crate", "serde_regex", ]