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