Jakub Kotur | 3bceaeb | 2020-12-21 17:28:16 +0100 | [diff] [blame] | 1 | [package] |
| 2 | name = "regex-automata" |
Joel Galenson | 8249a3d | 2021-06-21 14:01:00 -0700 | [diff] [blame] | 3 | version = "0.1.10" #:version |
Jakub Kotur | 3bceaeb | 2020-12-21 17:28:16 +0100 | [diff] [blame] | 4 | authors = ["Andrew Gallant <jamslam@gmail.com>"] |
| 5 | description = "Automata construction and matching using regular expressions." |
| 6 | documentation = "https://docs.rs/regex-automata" |
| 7 | homepage = "https://github.com/BurntSushi/regex-automata" |
| 8 | repository = "https://github.com/BurntSushi/regex-automata" |
| 9 | readme = "README.md" |
| 10 | keywords = ["regex", "dfa", "automata", "automaton", "nfa"] |
| 11 | license = "Unlicense/MIT" |
| 12 | categories = ["text-processing"] |
| 13 | exclude = [ |
| 14 | "/.travis.yml", "/appveyor.yml", "/ci/*", "/scripts/*", |
| 15 | "/regex-automata-debug", |
| 16 | ] |
| 17 | autotests = false |
| 18 | autoexamples = false |
| 19 | |
| 20 | [badges] |
| 21 | travis-ci = { repository = "BurntSushi/regex-automata" } |
| 22 | appveyor = { repository = "BurntSushi/regex-automata" } |
| 23 | |
| 24 | [workspace] |
| 25 | members = ["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. |
| 32 | exclude = ["examples", "regex-automata-debug"] |
| 33 | |
| 34 | [lib] |
| 35 | bench = false |
| 36 | |
| 37 | [features] |
| 38 | default = ["std"] |
| 39 | std = ["regex-syntax"] |
| 40 | transducer = ["std", "fst"] |
| 41 | |
| 42 | [dependencies] |
Jakub Kotur | 3bceaeb | 2020-12-21 17:28:16 +0100 | [diff] [blame] | 43 | fst = { version = "0.4.0", optional = true } |
| 44 | regex-syntax = { version = "0.6.16", optional = true } |
| 45 | |
| 46 | [dev-dependencies] |
| 47 | bstr = { version = "0.2", default-features = false, features = ["std"] } |
| 48 | lazy_static = "1.2.0" |
| 49 | regex = "1.1" |
| 50 | serde = "1.0.82" |
| 51 | serde_bytes = "0.11" |
| 52 | serde_derive = "1.0.82" |
| 53 | toml = "0.4.10" |
| 54 | |
| 55 | [[test]] |
| 56 | path = "tests/tests.rs" |
| 57 | name = "default" |
| 58 | |
| 59 | [profile.dev] |
| 60 | # Running tests takes too long in debug mode, so we forcefully always build |
| 61 | # with optimizations. Unfortunate, but, ¯\_(ツ)_/¯. |
| 62 | opt-level = 3 |
| 63 | debug = true |
| 64 | |
| 65 | [profile.test] |
| 66 | # Running tests takes too long in debug mode, so we forcefully always build |
| 67 | # with optimizations. Unfortunate, but, ¯\_(ツ)_/¯. |
| 68 | opt-level = 3 |
| 69 | debug = true |
| 70 | |
| 71 | [profile.release] |
| 72 | debug = true |
| 73 | |
| 74 | [profile.bench] |
| 75 | debug = true |