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