Skip to content

Update Rust toolchain and dependencies - #63

Merged
alshdavid merged 1 commit into
mainfrom
ALSH-208-dependency-updates
Oct 21, 2026
Merged

alshdavid merged 1 commit into
mainfrom
ALSH-208-dependency-updates

Conversation

@alshdavid-machine

Copy link
Copy Markdown
Collaborator

Toolchain

Rust toolchain is pinned to 1.99.1 in rust-toolchain, which is already the latest stable — no change. rust-version (MSRV) is not set in Cargo.toml, so it did not change either. No CI workflow pins a toolchain version (they all install stable via rustup).

Dependencies

From Cargo.toml changes and cargo update output:

Dependency Old New
jsonc-parser 0.26 0.34
crc32fast 1.5.2 1.5.3 (transitive)

All other dependencies were already at their latest compatible/breaking version (cargo outdated --root-deps-only reported only jsonc-parser).

Code changes

One call site updated in src/platform/transpile/typescript/tsconfig.rs: jsonc-parser 0.34's parse_to_serde_value now deserializes directly into a target type, so the intermediate serde_json::Value + serde_json::from_value conversion was removed in favour of parsing straight into RawTsConfig.

Local verification

  • cargo check --workspace — pass
  • cargo clippy --all-targets --workspace -- -D warnings — pass
  • cargo test --workspace — 34 passed
  • cargo xfmt — no reformatting required

No dependencies were left un-upgraded.

- jsonc-parser 0.26 -> 0.34
- crc32fast 1.5.2 -> 1.5.3 (transitive)

jsonc-parser 0.34 deserializes directly into a target type, so use
parse_to_serde_value::<RawTsConfig> instead of parsing to a
serde_json::Value and re-converting.
@alshdavid
alshdavid merged commit 839132c into main Oct 21, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants