-
Notifications
You must be signed in to change notification settings - Fork 15
/
Cargo.toml
76 lines (71 loc) · 2.03 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
[package]
publish = false
name = "rebar"
version = "0.0.1"
authors = ["Andrew Gallant <[email protected]>"]
description = """
A biased barometer for gauging the relative speed of some regex engines on a
curated set of tasks.
"""
repository = "https://github.com/BurntSushi/rebar"
keywords = ["regex", "benchmark", "measurement", "regular", "expression"]
license = "Unlicense"
categories = ["text-processing"]
edition = "2021"
[workspace]
members = [
"shared/klv",
"shared/regexredux",
"shared/timer",
]
# We don't include regex engines in our workspace because they aren't really
# part of rebar and it would be somewhat unfortunate to need to be able to
# build them in order to work on rebar. So we split them out.
#
# Note that we have a '.vim/coc-settings.json' that overrides rust-analyzer's
# automatic workspace detection because of this. So if a new entry is added to
# this list, then '.vim/coc-settings.json' probably also needs to be updated.
exclude = [
"engines/hyperscan",
"engines/pcre2",
"engines/re2",
"engines/regress",
"engines/rust/aho-corasick",
"engines/rust/memchr",
"engines/rust/regex",
"engines/rust/regex-automata",
"engines/rust/regex-old",
"engines/rust/regex-syntax",
]
[[bin]]
name = "rebar"
[dependencies]
anyhow = "1.0.28"
atty = "0.2.14"
bstr = { version = "1.2.0", default-features = false, features = ["std"] }
csv = "1.2.0"
# Using an older version here because I am really not a fan of the dependency
# tree explosion that has happened in 0.10.
env_logger = "0.9.3"
lexopt = "0.3.0"
log = "0.4.14"
once_cell = "1.12.0"
regex = "1.7.1"
regex-syntax = "0.6.28"
serde = { version = "1.0.137", features = ["derive"] }
tabwriter = { version = "1.2.1", features = ["ansi_formatting"] }
termcolor = "1.1.3"
textwrap = { version = "0.16.0", default-features = false }
toml = "0.7.1"
unicode-width = "0.1.7"
walkdir = "2.3.2"
[dependencies.klv]
path = "shared/klv"
[dependencies.regexredux]
path = "shared/regexredux"
[dependencies.timer]
path = "shared/timer"
[profile.release]
debug = true
codegen-units = 16
lto = false