-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCargo.toml
More file actions
62 lines (57 loc) · 1.71 KB
/
Cargo.toml
File metadata and controls
62 lines (57 loc) · 1.71 KB
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
[package]
name = "nit"
version = "0.1.4"
edition = "2024"
license = "GPL-3.0-only"
description = "A more secure and reliable alternative to pre-commit."
homepage = "https://github.com/Timmmm/nit/"
repository = "https://github.com/Timmmm/nit/"
documentation = "https://github.com/Timmmm/nit/"
# This gets it down to around 10MB instead of 18MB.
[profile.release-small]
inherits = "release"
opt-level = "z"
strip = true
lto = true
codegen-units = 1
[dependencies]
anyhow = { version = "1.0.102", features = ["backtrace"] }
blake3 = "1.8.3"
clap = { version = "4.6.0", features = ["derive"] }
derive_more = { version = "2.1.1", features = ["display"] }
dirs = "6.0.0"
env_logger = "0.11.10"
futures = "0.3.32"
glob = "0.3.3"
indicatif = { version = "0.18.4", features = ["tokio"] }
itertools = "0.14.0"
log = "0.4.29"
memchr = "2.8.0"
owo-colors = { version = "4.3.0", features = ["supports-color"] }
regex = "1.12.3"
reqwest = { version = "0.13.2", features = ["stream"] }
serde = { version = "1.0.228", features = ["derive"] }
serde_json = "1.0.149"
serde_json5 = "0.2.1"
tokio = { version = "1.50.0", features = ["rt", "macros", "fs"] }
tokio-util = { version = "0.7.18", features = ["io",] }
walkdir = "2.5.0"
wasmtime = "43.0.0"
wasmtime-wasi = "43.0.0"
# OpenSSL is only used on Unix. We don't want to add it as a dependency on Windows.
[target.'cfg(unix)'.dependencies]
openssl = { version = "0.10.70", features = ["vendored"] }
[workspace]
resolver = "2"
members = [
"lints/lint_case_conflict",
"lints/lint_deny",
"lints/lint_executable_shebang",
"lints/lint_json_format",
"lints/lint_merge_conflicts",
"lints/lint_regex",
"lints/lint_tabs",
"lints/lint_whitespace",
]
[dev-dependencies]
tempfile = "3.27.0"