32 lines
1.5 KiB
TOML
32 lines
1.5 KiB
TOML
# Author: Guoliang Chen, a Senior Digital Design Engineer
|
|
|
|
[package]
|
|
name = "vlog_linter"
|
|
version.workspace = true
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
description = "Syntactic lint rules for Verilog/SystemVerilog, in the spirit of ruff and Verible"
|
|
|
|
[dependencies]
|
|
vlog_parser = { path = "../vlog_parser" }
|
|
# The semantic rules (unused-signal, undriven-net, multiply-driven) need the
|
|
# file's symbol table: which declaration a name means. `vlog_semantic` is the
|
|
# workspace crate that answers that, and it depends on `vlog_parser` alone, so
|
|
# this adds no external code — see docs/features/semantic-lints/README.md.
|
|
vlog_semantic = { path = "../vlog_semantic" }
|
|
# A waiver file's `--location` is matched exactly the way an `--exclude`
|
|
# pattern is, and that matcher is `lucisv_core::walk::is_excluded`. Depending
|
|
# on it rather than copying it is the only way the two can be *the same*
|
|
# semantics; `lucisv_core` itself has no dependencies at all, so this adds no
|
|
# external code and closes no loop — see docs/features/waiver-files/README.md.
|
|
lucisv_core = { path = "../lucisv_core" }
|
|
|
|
[dev-dependencies]
|
|
# Tests only: the .lint case harness asserts that a lint fix never produces
|
|
# something the formatter would refuse. The library still depends on
|
|
# vlog_parser + std alone (`cargo tree -p vlog_linter -e normal`).
|
|
vlog_formatter = { path = "../vlog_formatter" }
|
|
|
|
# Author: Guoliang Chen. Lucisv is made by Guoliang Chen with love, luciochen.com
|