Chih-Hung Hsieh | e42c505 | 2020-04-16 10:44:21 -0700 | [diff] [blame] | 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] |
Joel Galenson | 3874808 | 2021-05-19 16:51:51 -0700 | [diff] [blame^] | 14 | edition = "2018" |
Chih-Hung Hsieh | e42c505 | 2020-04-16 10:44:21 -0700 | [diff] [blame] | 15 | name = "regex" |
Joel Galenson | 3874808 | 2021-05-19 16:51:51 -0700 | [diff] [blame^] | 16 | version = "1.5.4" |
Chih-Hung Hsieh | e42c505 | 2020-04-16 10:44:21 -0700 | [diff] [blame] | 17 | authors = ["The Rust Project Developers"] |
| 18 | exclude = ["/scripts/*", "/.github/*"] |
| 19 | autotests = false |
| 20 | description = "An implementation of regular expressions for Rust. This implementation uses\nfinite automata and guarantees linear time matching on all inputs.\n" |
| 21 | homepage = "https://github.com/rust-lang/regex" |
| 22 | documentation = "https://docs.rs/regex" |
| 23 | readme = "README.md" |
| 24 | categories = ["text-processing"] |
| 25 | license = "MIT OR Apache-2.0" |
| 26 | repository = "https://github.com/rust-lang/regex" |
| 27 | [profile.bench] |
| 28 | debug = true |
| 29 | |
| 30 | [profile.release] |
| 31 | debug = true |
| 32 | |
| 33 | [profile.test] |
| 34 | debug = true |
| 35 | |
| 36 | [lib] |
| 37 | doctest = false |
| 38 | bench = false |
| 39 | |
| 40 | [[test]] |
| 41 | name = "default" |
| 42 | path = "tests/test_default.rs" |
| 43 | |
| 44 | [[test]] |
| 45 | name = "default-bytes" |
| 46 | path = "tests/test_default_bytes.rs" |
| 47 | |
| 48 | [[test]] |
| 49 | name = "nfa" |
| 50 | path = "tests/test_nfa.rs" |
| 51 | |
| 52 | [[test]] |
| 53 | name = "nfa-utf8bytes" |
| 54 | path = "tests/test_nfa_utf8bytes.rs" |
| 55 | |
| 56 | [[test]] |
| 57 | name = "nfa-bytes" |
| 58 | path = "tests/test_nfa_bytes.rs" |
| 59 | |
| 60 | [[test]] |
| 61 | name = "backtrack" |
| 62 | path = "tests/test_backtrack.rs" |
| 63 | |
| 64 | [[test]] |
| 65 | name = "backtrack-utf8bytes" |
| 66 | path = "tests/test_backtrack_utf8bytes.rs" |
| 67 | |
| 68 | [[test]] |
| 69 | name = "backtrack-bytes" |
| 70 | path = "tests/test_backtrack_bytes.rs" |
| 71 | |
| 72 | [[test]] |
| 73 | name = "crates-regex" |
| 74 | path = "tests/test_crates_regex.rs" |
| 75 | [dependencies.aho-corasick] |
Joel Galenson | 3874808 | 2021-05-19 16:51:51 -0700 | [diff] [blame^] | 76 | version = "0.7.18" |
Chih-Hung Hsieh | e42c505 | 2020-04-16 10:44:21 -0700 | [diff] [blame] | 77 | optional = true |
| 78 | |
| 79 | [dependencies.memchr] |
Joel Galenson | 3874808 | 2021-05-19 16:51:51 -0700 | [diff] [blame^] | 80 | version = "2.4.0" |
Chih-Hung Hsieh | e42c505 | 2020-04-16 10:44:21 -0700 | [diff] [blame] | 81 | optional = true |
| 82 | |
| 83 | [dependencies.regex-syntax] |
Joel Galenson | 3874808 | 2021-05-19 16:51:51 -0700 | [diff] [blame^] | 84 | version = "0.6.25" |
Chih-Hung Hsieh | e42c505 | 2020-04-16 10:44:21 -0700 | [diff] [blame] | 85 | default-features = false |
Chih-Hung Hsieh | e42c505 | 2020-04-16 10:44:21 -0700 | [diff] [blame] | 86 | [dev-dependencies.lazy_static] |
| 87 | version = "1" |
| 88 | |
| 89 | [dev-dependencies.quickcheck] |
Elliott Hughes | ffb6030 | 2021-04-01 17:11:40 -0700 | [diff] [blame] | 90 | version = "1.0.3" |
Chih-Hung Hsieh | e42c505 | 2020-04-16 10:44:21 -0700 | [diff] [blame] | 91 | default-features = false |
| 92 | |
| 93 | [dev-dependencies.rand] |
Elliott Hughes | ffb6030 | 2021-04-01 17:11:40 -0700 | [diff] [blame] | 94 | version = "0.8.3" |
| 95 | features = ["getrandom", "small_rng"] |
| 96 | default-features = false |
Chih-Hung Hsieh | e42c505 | 2020-04-16 10:44:21 -0700 | [diff] [blame] | 97 | |
| 98 | [features] |
Haibo Huang | 0d330f2 | 2020-04-17 20:30:09 -0700 | [diff] [blame] | 99 | default = ["std", "perf", "unicode", "regex-syntax/default"] |
Chih-Hung Hsieh | e42c505 | 2020-04-16 10:44:21 -0700 | [diff] [blame] | 100 | pattern = [] |
| 101 | perf = ["perf-cache", "perf-dfa", "perf-inline", "perf-literal"] |
Elliott Hughes | ffb6030 | 2021-04-01 17:11:40 -0700 | [diff] [blame] | 102 | perf-cache = [] |
Chih-Hung Hsieh | e42c505 | 2020-04-16 10:44:21 -0700 | [diff] [blame] | 103 | perf-dfa = [] |
| 104 | perf-inline = [] |
| 105 | perf-literal = ["aho-corasick", "memchr"] |
| 106 | std = [] |
Haibo Huang | 0d330f2 | 2020-04-17 20:30:09 -0700 | [diff] [blame] | 107 | unicode = ["unicode-age", "unicode-bool", "unicode-case", "unicode-gencat", "unicode-perl", "unicode-script", "unicode-segment", "regex-syntax/unicode"] |
Chih-Hung Hsieh | e42c505 | 2020-04-16 10:44:21 -0700 | [diff] [blame] | 108 | unicode-age = ["regex-syntax/unicode-age"] |
| 109 | unicode-bool = ["regex-syntax/unicode-bool"] |
| 110 | unicode-case = ["regex-syntax/unicode-case"] |
| 111 | unicode-gencat = ["regex-syntax/unicode-gencat"] |
| 112 | unicode-perl = ["regex-syntax/unicode-perl"] |
| 113 | unicode-script = ["regex-syntax/unicode-script"] |
| 114 | unicode-segment = ["regex-syntax/unicode-segment"] |
| 115 | unstable = ["pattern"] |
| 116 | use_std = ["std"] |