[[bench]]
harness = false
name = "e2e"
path = "benches/e2e.rs"
[[bench]]
harness = false
name = "lint"
path = "benches/lint.rs"
[[bench]]
harness = false
name = "parser"
path = "benches/parser.rs"
[[bin]]
name = "lintspec"
path = "src/main.rs"
[dependencies.bon]
version = "3.3.2"
[dependencies.clap]
features = ["derive"]
optional = true
version = "4.5.29"
[dependencies.clap_complete]
optional = true
version = "4.5.57"
[dependencies.derive_more]
features = ["add", "display", "from", "is_variant", "try_into"]
version = "2.0.1"
[dependencies.dotenvy]
optional = true
version = "0.15.7"
[dependencies.dunce]
version = "1.0.5"
[dependencies.figment]
features = ["env", "toml"]
version = "0.10.19"
[dependencies.ignore]
version = "0.4.24"
[dependencies.lintspec-macros]
version = "0.2.2"
[dependencies.miette]
features = ["fancy"]
optional = true
version = "7.5.0"
[dependencies.rayon]
optional = true
version = "1.10.0"
[dependencies.regex]
optional = true
version = "1.11.1"
[dependencies.semver]
version = "1.0.25"
[dependencies.serde]
features = ["derive"]
version = "1.0.217"
[dependencies.serde_json]
version = "1.0.138"
[dependencies.slang_solidity]
optional = true
version = "1.3.0"
[dependencies.solar-parse]
default-features = false
optional = true
version = "0.1.4"
[dependencies.thiserror]
version = "2.0.11"
[dependencies.toml]
version = "0.9.2"
[dependencies.uuid]
features = ["v4"]
version = "1.18.1"
[dependencies.wide]
version = "1.1.1"
[dependencies.winnow]
version = "0.7.2"
[dependencies.zerocopy]
version = "0.8.27"
[dev-dependencies.divan]
package = "codspeed-divan-compat"
version = "4.0.5"
[dev-dependencies.insta]
version = "1.42.1"
[dev-dependencies.similar-asserts]
version = "1.6.1"
[dev-dependencies.temp-dir]
version = "0.1.16"
[features]
cli = ["dep:clap", "dep:clap_complete", "dep:dotenvy", "dep:miette", "dep:rayon"]
default = ["cli", "solar"]
slang = ["dep:regex", "dep:slang_solidity"]
solar = ["dep:solar-parse"]
[lib]
name = "lintspec"
path = "src/lib.rs"
[lints.clippy]
allow_attributes = "warn"
expect_used = "deny"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
mod_module_files = "warn"
module_name_repetitions = "allow"
unwrap_used = "deny"
[lints.clippy.pedantic]
level = "warn"
priority = -1
[package]
authors = ["Valentin Bersier <hi@beeb.li>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["development-tools", "command-line-utilities"]
description = "A blazingly fast linter for NatSpec comments in Solidity code"
edition = "2024"
keywords = ["natspec", "solidity", "linter", "checker", "documentation"]
license = "MIT OR Apache-2.0"
name = "lintspec"
readme = "README.md"
repository = "https://github.com/beeb/lintspec"
rust-version = "1.89.0"
version = "0.12.2"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[[test]]
name = "common"
path = "tests/common.rs"
[[test]]
name = "tests-basic-sample"
path = "tests/tests-basic-sample.rs"
[[test]]
name = "tests-fuzzers"
path = "tests/tests-fuzzers.rs"
[[test]]
name = "tests-interface-sample"
path = "tests/tests-interface-sample.rs"
[[test]]
name = "tests-library-sample"
path = "tests/tests-library-sample.rs"
[[test]]
name = "tests-parser-test"
path = "tests/tests-parser-test.rs"
[[test]]
name = "tests-slang"
path = "tests/tests-slang.rs"
[[test]]
name = "tests-unicode-sample"
path = "tests/tests-unicode-sample.rs"