Files
lucisv/Cargo.toml
T
Guoliang ChenandClaude Mythos 5.2 80017a59f2
release / build-and-publish (push) Successful in 5m22s
Release 0.65.5: named formatting styles
TODO §71.5. One setting picks a house layout — [format] style in
lucisv.toml, --style, the lucisv.format.style drop-down, the server and MCP:
lucisv (default), google, lowrisc, ansi, microsoft, nxp, and auto. Seven
layout rules (indent, width, begin placement, else placement, else after a
labelled end, one-per-line lists, list indent, alignment), one row per style
in one table in crates/vlog_formatter/src/style.rs. google and lowrisc follow
those published guides; ansi, microsoft and nxp are lucisv's guesses and say
so. auto formats with each preset and keeps the result that changes the
fewest lines (crates/vlog_formatter/src/auto.rs); the language server
remembers each document's preset (lucisv_server/src/auto_style.rs) so
selection and on-type formatting do not repeat the search. The style is part
of the format cache key.

Proof: default output byte-identical to 0.65.4 on 4 921 files (corpus +
OpenTitan hw) against an independently rebuilt 0.65.4; every style formatted
three times over the same files with no verification error, crash, token or
comment difference (independent lexer) or second-run change. verify.rs is
untouched.

Dev (three rounds), QA (two rounds, pass with findings) and lead review are
in docs/features/format-styles/README.md. Three one-line calls were added to
lucisv_server/src/server/notification.rs for the memory's invalidation.
TODO.md files the pre-existing bugs QA met on the way.

Version bump (Cargo.toml, Cargo.lock, editors/vscode/package.json and both
package-lock.json spots); notes in CHANGELOG.md (## 0.65.5) and
editors/vscode/CHANGELOG.md.

Gates: tools/gates.sh PASS on this tree; vlog_formatter 376/0,
lucisv_server 1996/0, corpus 814/6.

Co-Authored-By: Claude Mythos 5.2 <[email protected]>
2026-11-19 07:03:20 -08:00

47 lines
1.7 KiB
TOML

[workspace]
resolver = "2"
members = [
"crates/vlog_parser",
"crates/vlog_semantic",
"crates/vlog_refactor",
"crates/vlog_formatter",
"crates/vlog_linter",
"crates/lucisv_core",
"crates/lucisv",
"crates/lucisv_server",
"crates/lucisv_mcp",
]
[workspace.package]
version = "0.65.5"
authors = ["Guoliang Chen"]
edition = "2021"
license = "MIT"
# `rayon` is sanctioned by TODO.md §3 (parallel file processing) and used by
# `lucisv` 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 `lucisv_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/lucisv-server/README.md.
lsp-server = "=0.10.0"
# `proposed` is what carries LSP 3.18's `textDocument/inlineCompletion` — the
# params, the client/server capability. Nothing else in the feature is used,
# and the *response* types are hand-rolled in `inline.rs` because 0.97's are
# an older draft than the client implements
# (docs/features/inline-templates/README.md).
lsp-types = { version = "=0.97.0", features = ["proposed"] }
serde = "=1.0.229"
serde_json = "=1.0.140"
[profile.release]
lto = true