New crate vlog_refactor: rename any symbol vlog_semantic resolves, in-file and cross-file, with whole-edit-or-nothing verification (token identity + before/after resolution print over every file spelling either name). End labels rename too via a new vlog_semantic Target::Declaration bound at declaration time. Server ships prepareRename/rename; refusals are LSP request errors, define-body/macro-argument/hierarchical-tail occurrences warn instead of guessing. QA round 1 found two silent HIGHs (third-file collision, macro-argument silence) — both closed with regression tests. Co-Authored-By: Claude Fable 5 <[email protected]>
40 lines
1.2 KiB
TOML
40 lines
1.2 KiB
TOML
[workspace]
|
|
resolver = "2"
|
|
members = [
|
|
"crates/vlog_parser",
|
|
"crates/vlog_semantic",
|
|
"crates/vlog_refactor",
|
|
"crates/vlog_formatter",
|
|
"crates/vlog_linter",
|
|
"crates/vfmt_core",
|
|
"crates/vfmt",
|
|
"crates/vfmt_server",
|
|
]
|
|
|
|
[workspace.package]
|
|
version = "0.2.0"
|
|
edition = "2021"
|
|
license = "MIT"
|
|
|
|
# `rayon` is sanctioned by TODO.md §3 (parallel file processing) and used by
|
|
# `vfmt` only. Pinned exactly, because a work-stealing scheduler is exactly
|
|
# the kind of dependency whose minor releases can change thread behavior;
|
|
# justification in docs/features/parallel-files/README.md.
|
|
[workspace.dependencies]
|
|
rayon = "=1.12.0"
|
|
|
|
# The LSP stack, sanctioned by TODO.md §6 ("`tower-lsp` or `lsp-server`"), used
|
|
# by `vfmt_server` only. `lsp-server` is rust-analyzer's synchronous transport
|
|
# (no async runtime); `lsp-types` is the protocol's data model, which is not
|
|
# something to hand-roll. All pinned exactly for the same reason `rayon` is: a
|
|
# wire protocol's Rust bindings change shape between minor releases. Transitive
|
|
# count, build scripts and the versions considered are audited in
|
|
# docs/features/vfmt-server/README.md.
|
|
lsp-server = "=0.10.0"
|
|
lsp-types = "=0.97.0"
|
|
serde = "=1.0.229"
|
|
serde_json = "=1.0.140"
|
|
|
|
[profile.release]
|
|
lto = true
|