1[package]
2name = "regex-automata"
3version = "0.1.10"  #:version
4authors = ["Andrew Gallant <jamslam@gmail.com>"]
5description = "Automata construction and matching using regular expressions."
6documentation = "https://docs.rs/regex-automata"
7homepage = "https://github.com/BurntSushi/regex-automata"
8repository = "https://github.com/BurntSushi/regex-automata"
9readme = "README.md"
10keywords = ["regex", "dfa", "automata", "automaton", "nfa"]
11license = "Unlicense/MIT"
12categories = ["text-processing"]
13exclude = [
14  "/.travis.yml", "/appveyor.yml", "/ci/*", "/scripts/*",
15  "/regex-automata-debug",
16]
17autotests = false
18autoexamples = false
19
20[badges]
21travis-ci = { repository = "BurntSushi/regex-automata" }
22appveyor = { repository = "BurntSushi/regex-automata" }
23
24[workspace]
25members = ["bench"]
26# We'd ideally not do this, but since the debug tool uses Rust 2018, older
27# versions of Rust (such as 1.28) fail to parse the manifest because it treats
28# `edition = "2018"` as an unstable feature.
29#
30# When we move our MSRV to Rust 2018, then we should be able to add this back
31# to the workspace.
32exclude = ["examples", "regex-automata-debug"]
33
34[lib]
35bench = false
36
37[features]
38default = ["std"]
39std = ["regex-syntax"]
40transducer = ["std", "fst"]
41
42[dependencies]
43fst = { version = "0.4.0", optional = true }
44regex-syntax = { version = "0.6.16", optional = true }
45
46[dev-dependencies]
47bstr = { version = "0.2", default-features = false, features = ["std"] }
48lazy_static = "1.2.0"
49regex = "1.1"
50serde = "1.0.82"
51serde_bytes = "0.11"
52serde_derive = "1.0.82"
53toml = "0.4.10"
54
55[[test]]
56path = "tests/tests.rs"
57name = "default"
58
59[profile.dev]
60# Running tests takes too long in debug mode, so we forcefully always build
61# with optimizations. Unfortunate, but, ¯\_(ツ)_/¯.
62opt-level = 3
63debug = true
64
65[profile.test]
66# Running tests takes too long in debug mode, so we forcefully always build
67# with optimizations. Unfortunate, but, ¯\_(ツ)_/¯.
68opt-level = 3
69debug = true
70
71[profile.release]
72debug = true
73
74[profile.bench]
75debug = true
76