[package] name = "souffle-lint" description = "Linter for Soufflé Datalog" version = "0.4.0" keywords = ["linter", "souffle", "datalog"] edition = "2021" authors = ["Langston Barrett "] 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.0", features = ["derive", "cargo", "env"] } clap_mangen = "0.2" glob = "0.3" [dependencies] anyhow = "1.0" atty = "0.2" clap = { version = "4.0", features = ["derive"] } colored = "2.0" rayon = "1.5" serde = { version = "1.0", features = ["derive"] } serde_json = "1" serde_yaml = "0.9" tree-sitter = "0.20.9" 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 = []