Files
lucisv/Cargo.toml
T
Guoliang ChenandClaude Mythos 5.2 d57496978f
release / build-and-publish (push) Successful in 5m44s
Release 0.65.4: `ifdef blocks fold, and pin in sticky scroll
TODO §71.4. Each conditional-compilation branch (`ifdef, `ifndef, `elsif,
`else) is a folding range from its directive line to the line before the
next branch or `endif, kind region, nested to any depth; sticky scroll,
which already follows the server's folds, pins the branch line. Built on the
lexer's directive tokens (folding/directives.rs), so directives in comments,
strings and `define bodies are not folded; no parser or formatter change.
An existing fold is never lost or changed: scope and comment folds are
computed as before and sent first at a shared start line
(folding::in_answer_order).

Proven on OpenTitan hw (4 061 files, 1 061 branch folds) and the corpus
(860 files, 511): non-directive folds byte-identical to 0.65.3 (QA, base
built from git archive), 10 000-case fuzz against an independent model.

Dev, QA (pass with findings, one fix round) and lead review are in
docs/features/ifdef-folding/README.md. Not seen in a running editor.

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

Gates: tools/gates.sh PASS on this tree, lucisv_server 1977/0.

Co-Authored-By: Claude Mythos 5.2 <[email protected]>
2026-11-19 05:30:49 -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.4"
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