aboutsummaryrefslogtreecommitdiff
path: root/bin/Cargo.toml
blob: 715e46655e7d0b619753e8688480de3feb39512f (plain)
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
[package]
name = "statix"
version = "0.5.3"
edition = "2018"
license = "MIT"
authors = [ "Akshay <[email protected]>" ]
description = "Lints and suggestions for the Nix programming language"

[lib]
name = "statix"
path = "src/lib.rs"

[[bin]]
name = "statix"
path = "src/main.rs"

[dependencies]
ariadne = "0.1.3"
clap = "3.0.0-beta.4"
ignore = "0.4.18"
lib = { path = "../lib" }
rayon = "1.5.1"
rnix = "0.10.1"
similar = "2.1.0"
thiserror = "1.0.30"
toml = "0.5.8"
vfs = { path = "../vfs" }

[dependencies.serde]
version = "1.0.68"
features = [ "derive" ]

[dependencies.serde_json]
version = "1.0.68"
optional = true

[dev-dependencies]
insta = "1.8.0"
strip-ansi-escapes = "0.1.1"

[features]
json = [ "lib/json-out", "serde_json" ]