forked from langston-barrett/souffle-lint
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
54 lines (48 loc) · 1.46 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
[package]
name = "souffle-lint"
description = "Linter for Soufflé Datalog"
version = "0.4.0"
keywords = ["linter", "souffle", "datalog"]
edition = "2021"
authors = ["Langston Barrett <[email protected]>"]
license = "MIT"
readme = "README.md"
homepage = "https://github.com/langston-barrett/souffle-lint"
repository = "https://github.com/langston-barrett/souffle-lint"
# https://nnethercote.github.io/perf-book/build-configuration.html
#
# LTO roughly doubles build time from ~9s to ~16s
[profile.release]
panic = "abort"
lto = "thin"
[build-dependencies]
clap = { version = "4.4", features = ["derive", "cargo", "env"] }
clap_mangen = "0.2"
glob = "0.3"
[dependencies]
anyhow = "1.0"
atty = "0.2"
clap = { version = "4.4", features = ["derive"] }
colored = "2.1"
rayon = "1.8"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1"
serde_yaml = "0.9"
tree-sitter = "0.20.10"
tree-sitter-souffle = "0.4"
tracing = "0.1"
tracing-subscriber = "0.3"
# TODO(lb): Enable when this hits stable
# https://doc.rust-lang.org/cargo/reference/unstable.html#artifact-dependencies
# [dev-dependencies]
# cargo-deb = { version = "1", artifact = "bin" }
[package.metadata.deb]
assets = [
["README.md", "usr/share/doc/souffle-lint/README.md", "644"],
["target/x86_64-unknown-linux-musl/release/souffle-lint", "usr/bin/", "755"],
# See build.rs
["target/x86_64-unknown-linux-musl/assets/*.1", "usr/share/man/man1", "644"],
]
[features]
default = ["man"]
man = []