Bug 1608150 [wpt PR 21112] - Add missing space in `./wpt lint` command line docs...
[gecko.git] / third_party / rust / regex / Cargo.toml
blob7407357839169c9687ac3f2bf83f5bbd3301a83f
1 # THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
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
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)
13 [package]
14 name = "regex"
15 version = "1.3.1"
16 authors = ["The Rust Project Developers"]
17 exclude = ["/.travis.yml", "/appveyor.yml", "/ci/*", "/scripts/*"]
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/Apache-2.0"
25 repository = "https://github.com/rust-lang/regex"
26 [profile.test]
27 debug = true
29 [profile.bench]
30 debug = true
32 [profile.release]
33 debug = true
35 [lib]
36 doctest = false
37 bench = false
39 [[test]]
40 name = "default"
41 path = "tests/test_default.rs"
43 [[test]]
44 name = "default-bytes"
45 path = "tests/test_default_bytes.rs"
47 [[test]]
48 name = "nfa"
49 path = "tests/test_nfa.rs"
51 [[test]]
52 name = "nfa-utf8bytes"
53 path = "tests/test_nfa_utf8bytes.rs"
55 [[test]]
56 name = "nfa-bytes"
57 path = "tests/test_nfa_bytes.rs"
59 [[test]]
60 name = "backtrack"
61 path = "tests/test_backtrack.rs"
63 [[test]]
64 name = "backtrack-utf8bytes"
65 path = "tests/test_backtrack_utf8bytes.rs"
67 [[test]]
68 name = "backtrack-bytes"
69 path = "tests/test_backtrack_bytes.rs"
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
78 [dependencies.memchr]
79 version = "2.2.1"
80 optional = true
82 [dependencies.regex-syntax]
83 version = "0.6.12"
84 default-features = false
86 [dependencies.thread_local]
87 version = "0.3.6"
88 optional = true
89 [dev-dependencies.doc-comment]
90 version = "0.3"
92 [dev-dependencies.lazy_static]
93 version = "1"
95 [dev-dependencies.quickcheck]
96 version = "0.8"
97 default-features = false
99 [dev-dependencies.rand]
100 version = "0.6.5"
102 [features]
103 default = ["std", "perf", "unicode"]
104 pattern = []
105 perf = ["perf-cache", "perf-dfa", "perf-inline", "perf-literal"]
106 perf-cache = ["thread_local"]
107 perf-dfa = []
108 perf-inline = []
109 perf-literal = ["aho-corasick", "memchr"]
110 std = []
111 unicode = ["unicode-age", "unicode-bool", "unicode-case", "unicode-gencat", "unicode-perl", "unicode-script", "unicode-segment"]
112 unicode-age = ["regex-syntax/unicode-age"]
113 unicode-bool = ["regex-syntax/unicode-bool"]
114 unicode-case = ["regex-syntax/unicode-case"]
115 unicode-gencat = ["regex-syntax/unicode-gencat"]
116 unicode-perl = ["regex-syntax/unicode-perl"]
117 unicode-script = ["regex-syntax/unicode-script"]
118 unicode-segment = ["regex-syntax/unicode-segment"]
119 unstable = ["pattern"]
120 use_std = ["std"]
121 [badges.appveyor]
122 repository = "rust-lang-libs/regex"
124 [badges.travis-ci]
125 repository = "rust-lang/regex"