-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
48 lines (44 loc) · 1.55 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
[package]
name = "omnilinter"
description = "General purpose bulk linter"
version = "0.7.0"
edition = "2021"
authors = ["Dmitry Marakasov <[email protected]>"]
license = "GPL-3.0-or-later"
readme = "README.md"
homepage = "https://github.com/AMDmi3/omnilinter"
repository = "https://github.com/AMDmi3/omnilinter"
keywords = ["cli", "linter"]
categories = ["command-line-utilities", "development-tools"]
[[bench]]
name = "bench"
harness = false
[features]
default = ["matching-cache", "multithreading"]
# XXX: if you run omnilinter on directories with lots of files, or use huge ruleset, please
# check if disabling matching-cache feature makes difference performance-wise and report.
# It may make sense to drop it and simplify the code if it doesn't really help.
matching-cache = []
multithreading = ["dep:rayon"]
coverage = []
[dependencies]
anyhow = "1.0.93"
clap = { version = "4.5.21", features = ["derive"] }
colored = "2.1.0"
directories = "5.0.1"
fxhash = "0.2.1"
glob = "0.3.1"
pest = "2.7.14"
pest_derive = { version = "2.7.14", features = ["grammar-extras"] }
rayon = { version = "1.10.0", optional = true }
regex = { version = "1.11.1", default-features = false, features = ["std", "unicode-perl"] }
serde = { version = "1.0.215", features = ["derive"] }
serde_json = "1.0.133"
walkdir = "2.5.0"
[dev-dependencies]
assert_cmd = "2.0.16"
criterion = { version = "0.5.1", default-features = false, features = ["cargo_bench_support"] }
pretty_assertions = "1.4.1"
rstest = { version = "0.23.0", default-features = false }
tempfile = "3.14.0"
testutils = { path = "testutils" }