Skip to content

Comments

chore: update dependencies and cleanup Cargo.toml files#7

Merged
bug-ops merged 6 commits intomasterfrom
feature/update-dependencies
Nov 21, 2025
Merged

chore: update dependencies and cleanup Cargo.toml files#7
bug-ops merged 6 commits intomasterfrom
feature/update-dependencies

Conversation

@bug-ops
Copy link
Owner

@bug-ops bug-ops commented Nov 21, 2025

Summary

  • Update all dependencies to latest stable versions
  • Major update: wasmtime 38.0 → 39.0
  • Clean up and standardize all Cargo.toml files across workspace
  • Remove comments and alphabetize dependencies for better maintainability
  • Move feature flags from workspace to individual crates

Dependency Updates

  • wasmtime: 38.0 → 39.0 (major)
  • blake3: 1.5 → 1.8.2
  • clap: 4.5 → 4.5.53
  • thiserror: 2.0 → 2.0.17
  • anyhow: 1.0 → 1.0.100
  • serde: 1.0 → 1.0.228
  • handlebars: 6.3 → 6.3.2
  • lru: 0.16 → 0.16.2
  • reqwest: 0.12 → 0.12.24

Cargo.toml Cleanup

  • Removed all comments for cleaner configuration
  • Alphabetized all dependencies in workspace and crate files
  • Moved feature declarations from workspace to individual crates where needed
  • Standardized formatting across 11 files (1 workspace + 10 crates)

Impact

  • Files changed: 11 Cargo.toml files
  • Lines changed: +134 insertions, -302 deletions (net -168 lines)
  • Tests: All 696 tests passing
  • Compilation: Clean build with cargo check

Test Plan

  • cargo check --workspace passes
  • cargo nextest run --workspace passes (696/696 tests)
  • All crates compile successfully with updated dependencies
  • No breaking changes in public APIs

Update all dependencies to latest versions:
- wasmtime: 38.0 → 39.0 (major)
- blake3: 1.5 → 1.8.2
- clap: 4.5 → 4.5.53
- thiserror: 2.0 → 2.0.17
- anyhow: 1.0 → 1.0.100
- serde: 1.0 → 1.0.228
- handlebars: 6.3 → 6.3.2
- lru: 0.16 → 0.16.2
- reqwest: 0.12 → 0.12.24

Cleanup Cargo.toml structure:
- Remove all comments for cleaner configuration
- Alphabetize all dependencies for better maintainability
- Move features from workspace to individual crates
- Standardize formatting across all files

All 696 tests pass with updated dependencies.
Update official Rust SDK for Model Context Protocol from 0.8 to 0.9.0.

All 696 tests passing with the updated version.
Add criterion to dev-dependencies for crates with benchmark targets:
- mcp-bridge (cache_benchmark.rs)
- mcp-introspector (serialization_benchmark.rs)
- mcp-codegen (code_generation.rs)

This fixes clippy errors when running with --all-targets flag.
@codecov-commenter
Copy link

codecov-commenter commented Nov 21, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.

Impacted file tree graph

@@           Coverage Diff           @@
##           master       #7   +/-   ##
=======================================
  Coverage   91.89%   91.89%           
=======================================
  Files          29       29           
  Lines        4762     4762           
=======================================
  Hits         4376     4376           
  Misses        386      386           
Flag Coverage Δ
unittests 91.89% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a535c96...597b5a1. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Update Minimum Supported Rust Version to 1.89 due to wasmtime 39.0.0
requirements. All wasmtime 39.0 dependencies (cranelift-*, pulley-*,
wasmtime-*) require rustc 1.89.0.

Changes:
- Update workspace rust-version in Cargo.toml
- Update MSRV badge in README.md
- Update CI workflow to test with Rust 1.89

Verified with cargo-msrv: compatible with 1.89.0.
Update to latest versions:
- regex: 1.11 → 1.12.2
- uuid: 1.11 → 1.18.1
- wat: 1.240 → 1.241.2

All 696 tests passing with updated versions.
Add new bench-fast profile optimized for CI and development:
- codegen-units = 16 (parallel compilation vs sequential)
- lto = false (skip link-time optimization)
- debug = false (skip debug symbols)
- incremental = false (better sccache compatibility)

Performance results:
- bench-fast: 1m 45s (new, for CI/development)
- bench: 4m 42s (default, for profiling with flamegraph)
- Speedup: 63% faster builds (177s saved)

Also update bench profile with incremental = false for better
sccache compatibility (improves Rust cache hits from 42% to 55-65%).

CI updated to use bench-fast profile for faster workflow runs.

Usage:
  cargo bench --no-run --profile bench-fast  # Fast iteration
  cargo bench --no-run                        # Accurate profiling
@bug-ops bug-ops merged commit 5a6ac06 into master Nov 21, 2025
14 checks passed
@bug-ops bug-ops deleted the feature/update-dependencies branch November 21, 2025 21:51
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