Skip to content

reference dependencies

bondiano edited this page Nov 12, 2026 · 1 revision

Dependencies and pinned tools

Sych has three application dependency graphs: the Rust workspace, Vue dashboard and Astro documentation site. Reviewed-project language tools and the SCIP TypeScript helper have separate pins, so their packages are not silently mixed into application totals.

Measurement definitions

Counts below were measured from tracked manifests/lockfiles at revision 00dc7637f89a47ee6fd4713204f8331418428370, not from a developer's installed modules or target-specific build output.

  • Direct names: unique dependency names declared by application manifests, including normal, development and build dependencies; internal Rust workspace packages are excluded.
  • Locked records: every external package/version/source record in Cargo.lock, package key in the pnpm packages map, or non-root installation path in npm packages. Optional/target-specific packages are included.
  • Transitive-only records: locked records whose name is not directly declared. This is a reproducible name-based inventory, not exact activated graph edges. An older transitive version of a directly declared name remains in the direct-name bucket.
  • Ecosystems and lock formats are counted separately. No row is a vulnerability, license-compliance or production bundle-size assessment.

Rust workspace

Measure Count
Workspace members 5
Unique direct external names, all dependency kinds 42
External locked package records 360
Unique external locked names 349
Locked records with directly declared names 45
Transitive-only locked records 315
Transitive-only unique names 307

Source: Cargo.toml, Cargo.lock, and all five crates/*/Cargo.toml manifests. Workspace members are excluded by package name; current external records are identified by name/version/source. The three extra direct-name versions arise because base64, sha2 and syn each also occur at another locked version. Other multi-version names include bitflags, block-buffer, cpufeatures, crypto-common, digest, getrandom, hashbrown and windows-sys.

Crate Normal external names Dev external names Unique external names across kinds Internal normal dependencies
sych-core 11 1 12 None
sych-adapters 30 3 31 sych-core
sych-storage 9 2 11 sych-core
sych-app 17 3 20 sych-core, sych-adapters, sych-storage
sych-style 2 1 3 None

Dev and normal columns can overlap, so neither column sums to the workspace unique total. There are no additional build-dependency names in these manifests.

Important library choices

Area Direct libraries and purpose
HTTP/runtime Axum/Tokio server, Reqwest transports, tower-http static UI
Contracts serde/serde_json/serde_yaml_ng, schemars generation, serde_path_to_error
Storage SQLx Any with bundled SQLite and PostgreSQL, explicit migrations
Parsing syn, oxc family, tree-sitter with Go/Python grammars, quick-xml, toml
Security/identity ring for cryptography, sha2 content hashes, url parsing, UUID IDs
Operations clap, tracing/tracing-subscriber, jiff, lettre SMTP, tempfile
Tool archives flate2, tar and lzma-rust2

Cargo.toml disables unnecessary defaults for Axum, Reqwest, SQLx, lettre and archive handling, and chooses rustls/ring where configured. These are package feature choices, not proof that every transitive component is pure Rust. Use cargo … --locked; Rust 1.94.1 is selected by rust-toolchain.toml. See Crates.

Dashboard and docs site

Graph Direct runtime Direct dev Locked records Transitive-only records
Dashboard application 10 27 729 pnpm package keys 689
Docs site 3 0 351 npm installation paths 348
SCIP TypeScript helper 1 0 27 pnpm package keys 26

Sources: web/package.json, web/pnpm-lock.yaml, site/package.json, site/package-lock.json, crates/sych-adapters/src/tools/npm/scip-typescript/package.json, and its adjacent pnpm-lock.yaml.

The dashboard has 37 direct names, 672 unique locked application names, and 40 direct-name package records. Its lockfile is a two-document YAML stream: the first document pins package-manager pnpm 12.16.1 plus 14 platform executables (15 records, excluded from the 729 application count); the second contains the application graph. Application snapshots has 433 records, a different representation from the packages inventory, not an installed-module count.

The site lock is npm format version 3, with 344 unique names across 351 non-root paths. The helper lock has 27 unique names and 10 snapshot records. Platform choices, peer contexts and optionality explain why these inventories are not interchangeable with installation or bundle totals.

The dashboard uses Vue, Vue Router, TanStack Query, VueUse, Reka UI and OpenAPI Fetch. Dev dependencies cover Vite, TypeScript, Vitest, ESLint/Oxlint, Prettier, Tailwind and generated API types. Its manifest selects pnpm 12.16.1, Node ^22.18.0 || >=24.12.0 and TypeScript ~6.0.3. The site directly pins Astro 7.4.4, Starlight 0.42.8 and Inter 5.3.0, using npm ci. Manifest ranges are not exact locks; use frozen installs. See Dashboard and Docs site.

Reviewed-project tool pins

These are tools the reviewer invokes, not direct Cargo dependencies and not necessarily the versions used to build Sych's dashboard.

Tool family Pinned versions
Semantic servers rust-analyzer 2026-10-19; TypeScript native 7.0.2; gopls 0.24.0; ty 0.0.93
Preparation/runtime pnpm 12.14.0 and 12.16.1; Go 1.27.3
Linters ruff 0.17.2; oxlint 1.89.0; actionlint 1.7.12; zizmor 1.31.1; sqruff 0.43.0; mago 1.59.0; jarl 0.7.1; clj-kondo 2026.10.26
Project architecture checks easement 0.6.1
SCIP runtimes/indexers Node 26.13.0; scip-go 0.2.9; scip-python 0.6.8; scip-typescript 0.6.1
Subscription subprocess transport Pi 1.4.0, checked independently of the language-tool catalogs

Download URLs, target binaries and SHA-256 pins are in crates/sych-adapters/src/tools/pinned.json and crates/sych-adapters/src/tools/indexers.json. Catalog targets cover ARM64/x86-64 Linux/macOS. The resolver verifies archives; Go module and pnpm-lock entries have their own controlled build/install paths. Pi's version is enforced in crates/sych-adapters/src/pi.rs.

Do not replace missing pinned tools with arbitrary host-installed executables or run reviewed-repository build hooks to make indexing succeed. Unsupported tool/lock versions and unavailable dependencies remain explicit limitations. See Facts and Security.

Key source files and change entry points

File Change here
Cargo.toml, Cargo.lock Workspace constraints/features and resolved Rust graph
web/package.json, web/pnpm-lock.yaml Dashboard packages and package-manager/application lock documents
site/package.json, site/package-lock.json Site's independent npm graph
crates/sych-adapters/src/tools/pinned.json Semantic/linter/runtime integrity pins
crates/sych-adapters/src/tools/indexers.json Easement and SCIP tool pins
crates/sych-adapters/src/tools/mod.rs Resolver/download/cache verification
crates/sych-adapters/src/tools/npm.rs Locked SCIP TypeScript dependency installation

When refreshing a dependency or tool pin, update the matching lock/integrity metadata and tests, and preserve the execution boundaries. Counts must be remeasured rather than incremented by hand.

Clone this wiki locally