blob: 2f5eb41c5b66987cbc0df3d6ca92f91815751736 [file] [log] [blame]
Jakub Kotur3bceaeb2020-12-21 17:28:16 +01001[package]
2name = "regex-automata"
3version = "0.1.9" #: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]
43byteorder = { version = "1.2.7", default-features = false }
44fst = { version = "0.4.0", optional = true }
45regex-syntax = { version = "0.6.16", optional = true }
46
47[dev-dependencies]
48bstr = { version = "0.2", default-features = false, features = ["std"] }
49lazy_static = "1.2.0"
50regex = "1.1"
51serde = "1.0.82"
52serde_bytes = "0.11"
53serde_derive = "1.0.82"
54toml = "0.4.10"
55
56[[test]]
57path = "tests/tests.rs"
58name = "default"
59
60[profile.dev]
61# Running tests takes too long in debug mode, so we forcefully always build
62# with optimizations. Unfortunate, but, ¯\_(ツ)_/¯.
63opt-level = 3
64debug = true
65
66[profile.test]
67# Running tests takes too long in debug mode, so we forcefully always build
68# with optimizations. Unfortunate, but, ¯\_(ツ)_/¯.
69opt-level = 3
70debug = true
71
72[profile.release]
73debug = true
74
75[profile.bench]
76debug = true