tools/release.sh --cross builds, next to the host Apple Silicon pair, x86_64-apple-darwin (runs under Rosetta here, full smoke passed), x86_64-unknown-linux-musl (static, no glibc dependency) and x86_64-pc-windows-gnu (.exe depending only on DLLs Windows 10+ ships, audited). The rustup stable toolchain is addressed by absolute path so the Homebrew rust on PATH keeps owning day-to-day builds; the musl link needs DYLD_FALLBACK_LIBRARY_PATH for rust-lld's libLLVM, the Windows link needs mingw-w64's import libraries - both encoded in the script and RELEASING.md so nobody rediscovers them. Author metadata: Cargo.toml authors, package.json publisher guoliangchen + author, LICENSE holder - all Guoliang Chen. Co-Authored-By: Claude Fable 5 <[email protected]>
41 lines
1.3 KiB
TOML
41 lines
1.3 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.5.0"
|
|
authors = ["Guoliang Chen"]
|
|
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
|