blob: 260acec69df73ed1f583316fc214eacf18f36af4 [file] [log] [blame]
Chih-Hung Hsiehe42c5052020-04-16 10:44:21 -07001# 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 Galenson38748082021-05-19 16:51:51 -070014edition = "2018"
Chih-Hung Hsiehe42c5052020-04-16 10:44:21 -070015name = "regex"
Joel Galenson38748082021-05-19 16:51:51 -070016version = "1.5.4"
Chih-Hung Hsiehe42c5052020-04-16 10:44:21 -070017authors = ["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]
Joel Galenson38748082021-05-19 16:51:51 -070076version = "0.7.18"
Chih-Hung Hsiehe42c5052020-04-16 10:44:21 -070077optional = true
78
79[dependencies.memchr]
Joel Galenson38748082021-05-19 16:51:51 -070080version = "2.4.0"
Chih-Hung Hsiehe42c5052020-04-16 10:44:21 -070081optional = true
82
83[dependencies.regex-syntax]
Joel Galenson38748082021-05-19 16:51:51 -070084version = "0.6.25"
Chih-Hung Hsiehe42c5052020-04-16 10:44:21 -070085default-features = false
Chih-Hung Hsiehe42c5052020-04-16 10:44:21 -070086[dev-dependencies.lazy_static]
87version = "1"
88
89[dev-dependencies.quickcheck]
Elliott Hughesffb60302021-04-01 17:11:40 -070090version = "1.0.3"
Chih-Hung Hsiehe42c5052020-04-16 10:44:21 -070091default-features = false
92
93[dev-dependencies.rand]
Elliott Hughesffb60302021-04-01 17:11:40 -070094version = "0.8.3"
95features = ["getrandom", "small_rng"]
96default-features = false
Chih-Hung Hsiehe42c5052020-04-16 10:44:21 -070097
98[features]
Haibo Huang0d330f22020-04-17 20:30:09 -070099default = ["std", "perf", "unicode", "regex-syntax/default"]
Chih-Hung Hsiehe42c5052020-04-16 10:44:21 -0700100pattern = []
101perf = ["perf-cache", "perf-dfa", "perf-inline", "perf-literal"]
Elliott Hughesffb60302021-04-01 17:11:40 -0700102perf-cache = []
Chih-Hung Hsiehe42c5052020-04-16 10:44:21 -0700103perf-dfa = []
104perf-inline = []
105perf-literal = ["aho-corasick", "memchr"]
106std = []
Haibo Huang0d330f22020-04-17 20:30:09 -0700107unicode = ["unicode-age", "unicode-bool", "unicode-case", "unicode-gencat", "unicode-perl", "unicode-script", "unicode-segment", "regex-syntax/unicode"]
Chih-Hung Hsiehe42c5052020-04-16 10:44:21 -0700108unicode-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"]