[package]
edition = "2024"
name = "badness"
version = "0.5.0"
authors = ["Johan Larsson <johan@jolars.co>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A language server, formatter, and linter for LaTeX"
homepage = "https://badness.dev/"
documentation = "https://badness.dev"
readme = "README.md"
keywords = [
"latex",
"language-server",
"formatter",
"linter",
]
categories = [
"command-line-utilities",
"text-processing",
"parsing",
"parser-implementations",
]
license = "MIT"
repository = "https://github.com/jolars/badness"
[lib]
name = "badness"
path = "src/lib.rs"
[[bin]]
name = "badness"
path = "src/main.rs"
[[test]]
name = "bib_format"
path = "tests/bib_format.rs"
[[test]]
name = "bib_lexer_snapshots"
path = "tests/bib_lexer_snapshots.rs"
[[test]]
name = "bib_lint"
path = "tests/bib_lint.rs"
[[test]]
name = "bib_parse_compat"
path = "tests/bib_parse_compat.rs"
[[test]]
name = "bib_parse_oracle"
path = "tests/bib_parse_oracle.rs"
[[test]]
name = "bib_parser"
path = "tests/bib_parser.rs"
[[test]]
name = "bib_roundtrip"
path = "tests/bib_roundtrip.rs"
[[test]]
name = "bib_semantic"
path = "tests/bib_semantic.rs"
[[test]]
name = "dtx"
path = "tests/dtx.rs"
[[test]]
name = "format"
path = "tests/format.rs"
[[test]]
name = "format_packages"
path = "tests/format_packages.rs"
[[test]]
name = "incremental"
path = "tests/incremental.rs"
[[test]]
name = "lexer_snapshots"
path = "tests/lexer_snapshots.rs"
[[test]]
name = "lint"
path = "tests/lint.rs"
[[test]]
name = "lsp"
path = "tests/lsp.rs"
[[test]]
name = "package"
path = "tests/package.rs"
[[test]]
name = "parse_compat"
path = "tests/parse_compat.rs"
[[test]]
name = "parse_oracle"
path = "tests/parse_oracle.rs"
[[test]]
name = "parser"
path = "tests/parser.rs"
[[test]]
name = "project"
path = "tests/project.rs"
[[test]]
name = "roundtrip"
path = "tests/roundtrip.rs"
[[test]]
name = "semantic"
path = "tests/semantic.rs"
[[bench]]
name = "formatting"
path = "benches/formatting.rs"
harness = false
[dependencies.annotate-snippets]
version = "0.12.16"
[dependencies.clap]
version = "4.5.51"
features = ["derive"]
[dependencies.crossbeam-channel]
version = "0.5"
[dependencies.ignore]
version = "0.4.26"
[dependencies.log]
version = "0.4.32"
features = ["release_max_level_info"]
[dependencies.lsp-server]
version = "0.8"
[dependencies.lsp-types]
version = "0.97"
[dependencies.phf]
version = "0.14"
[dependencies.rowan]
version = "0.16.1"
[dependencies.salsa]
version = "0.27.0"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.smol_str]
version = "0.3.2"
[dependencies.toml]
version = "1"
[dev-dependencies.insta]
version = "1.47.2"
[dev-dependencies.tempfile]
version = "3"
[build-dependencies.clap]
version = "4.5.51"
features = ["derive"]
[build-dependencies.clap-markdown]
version = "0.1.5"
[build-dependencies.clap_complete]
version = "4.6.5"
[build-dependencies.clap_mangen]
version = "0.3.0"
[build-dependencies.phf_codegen]
version = "0.14"
[build-dependencies.serde]
version = "1"
features = ["derive"]
[build-dependencies.serde_json]
version = "1"
[profile.release]
strip = "symbols"