1# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO 2# 3# When uploading crates to the registry Cargo will automatically 4# "normalize" Cargo.toml files for maximal compatibility 5# with all versions of Cargo and also rewrite `path` dependencies 6# to registry (e.g., crates.io) dependencies 7# 8# If you believe there's an error in this file please file an 9# issue against the rust-lang/cargo repository. If you're 10# editing this file be aware that the upstream Cargo.toml 11# will likely look very different (and much more reasonable) 12 13[package] 14edition = "2018" 15name = "regex" 16version = "1.5.4" 17authors = ["The Rust Project Developers"] 18exclude = ["/scripts/*", "/.github/*"] 19autotests = false 20description = "An implementation of regular expressions for Rust. This implementation uses\nfinite automata and guarantees linear time matching on all inputs.\n" 21homepage = "https://github.com/rust-lang/regex" 22documentation = "https://docs.rs/regex" 23readme = "README.md" 24categories = ["text-processing"] 25license = "MIT OR Apache-2.0" 26repository = "https://github.com/rust-lang/regex" 27[profile.bench] 28debug = true 29 30[profile.release] 31debug = true 32 33[profile.test] 34debug = true 35 36[lib] 37doctest = false 38bench = false 39 40[[test]] 41name = "default" 42path = "tests/test_default.rs" 43 44[[test]] 45name = "default-bytes" 46path = "tests/test_default_bytes.rs" 47 48[[test]] 49name = "nfa" 50path = "tests/test_nfa.rs" 51 52[[test]] 53name = "nfa-utf8bytes" 54path = "tests/test_nfa_utf8bytes.rs" 55 56[[test]] 57name = "nfa-bytes" 58path = "tests/test_nfa_bytes.rs" 59 60[[test]] 61name = "backtrack" 62path = "tests/test_backtrack.rs" 63 64[[test]] 65name = "backtrack-utf8bytes" 66path = "tests/test_backtrack_utf8bytes.rs" 67 68[[test]] 69name = "backtrack-bytes" 70path = "tests/test_backtrack_bytes.rs" 71 72[[test]] 73name = "crates-regex" 74path = "tests/test_crates_regex.rs" 75[dependencies.aho-corasick] 76version = "0.7.18" 77optional = true 78 79[dependencies.memchr] 80version = "2.4.0" 81optional = true 82 83[dependencies.regex-syntax] 84version = "0.6.25" 85default-features = false 86[dev-dependencies.lazy_static] 87version = "1" 88 89[dev-dependencies.quickcheck] 90version = "1.0.3" 91default-features = false 92 93[dev-dependencies.rand] 94version = "0.8.3" 95features = ["getrandom", "small_rng"] 96default-features = false 97 98[features] 99default = ["std", "perf", "unicode", "regex-syntax/default"] 100pattern = [] 101perf = ["perf-cache", "perf-dfa", "perf-inline", "perf-literal"] 102perf-cache = [] 103perf-dfa = [] 104perf-inline = [] 105perf-literal = ["aho-corasick", "memchr"] 106std = [] 107unicode = ["unicode-age", "unicode-bool", "unicode-case", "unicode-gencat", "unicode-perl", "unicode-script", "unicode-segment", "regex-syntax/unicode"] 108unicode-age = ["regex-syntax/unicode-age"] 109unicode-bool = ["regex-syntax/unicode-bool"] 110unicode-case = ["regex-syntax/unicode-case"] 111unicode-gencat = ["regex-syntax/unicode-gencat"] 112unicode-perl = ["regex-syntax/unicode-perl"] 113unicode-script = ["regex-syntax/unicode-script"] 114unicode-segment = ["regex-syntax/unicode-segment"] 115unstable = ["pattern"] 116use_std = ["std"] 117