aboutsummaryrefslogtreecommitdiff
path: root/bin/Cargo.toml
blob: 34d65130df014f818d85d392056215234b41878a (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
43
44
[package]
name = "statix"
version = "0.5.2"
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"
thiserror = "1.0.30"
similar = "2.1.0"
vfs = { path = "../vfs" }
lib = { path = "../lib" }
toml = "0.5.8"

[dependencies.rnix]
git = "https://github.com/nix-community/rnix-parser"
rev = "8083f5694ddeaca47c946aa9ae7ecf117fa4823b"

[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" ]