[package]
edition = "2024"
rust-version = "1.88"
name = "jsonvet-cli"
version = "2.0.0"
authors = ["Simon van Lierde"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The jsonvet command: checks JSON, JSONC, JSON5, HuJSON and JSON Lines files."
homepage = "https://github.com/simonvanlierde/jsonvet"
readme = "README.md"
keywords = [
"json",
"json5",
"jsonc",
"lint",
"pre-commit",
]
categories = [
"command-line-utilities",
"development-tools",
"parser-implementations",
]
license = "MIT"
repository = "https://github.com/simonvanlierde/jsonvet"
[lib]
name = "jsonvet_cli"
path = "src/lib.rs"
[[bin]]
name = "check-json5"
path = "src/bin/check-json5.rs"
[[bin]]
name = "jsonvet"
path = "src/main.rs"
[[test]]
name = "cli"
path = "tests/cli.rs"
[dependencies.jsonvet]
version = "=2.0.0"
[dependencies.lexopt]
version = "0.3.2"
[dependencies.toml]
version = "1.1.8"
features = [
"parse",
"serde",
]
default-features = false
[lints.clippy]
allow_attributes_without_reason = "warn"
dbg_macro = "warn"
expect_used = "warn"
must_use_candidate = "allow"
todo = "warn"
unimplemented = "warn"
unwrap_used = "warn"
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_docs = "warn"
unreachable_pub = "warn"
unsafe_code = "forbid"