Skip to content

Update dependencies and fix clippy lints - #18

Merged
frantufro merged 3 commits into
mainfrom
update-deps-and-lints
Nov 9, 2026
Merged

frantufro merged 3 commits into
mainfrom
update-deps-and-lints

Conversation

@frantufro

Copy link
Copy Markdown
Owner

Changes

  • Update Cargo.lock to the latest compatible versions.
  • Bump direct dependencies across majors: toml 0.8 → 1, scraper 0.27 → 0.29, lopdf 0.44 → 0.47, hf-hub 0.5 → 1.0.
  • Port src/embed.rs to the hf-hub 1.0 blocking client (HFClientSync). HF_HOME and HF_ENDPOINT are still honored.
  • Replace deprecated rmcp ServerInfo/ClientInfo with ServerConfig/ClientConfig.
  • Replace assert!(x.is_empty()) with assert_eq! (clippy assert_is_empty).

Verification

cargo fmt --check, cargo clippy --all-targets -- -D warnings and cargo test pass.

Notes

  • hf-hub 1.0 pulls in xet-* crates, so the dependency tree grows.
  • A first-run model download through the new hf-hub client has not been tested; tests used the existing cache.

Bump toml to 1, scraper to 0.29, lopdf to 0.47 and hf-hub to 1.0 (port
embed.rs to the blocking HFClientSync), refresh Cargo.lock, move to the
rmcp ServerConfig/ClientConfig types, and replace assert!(x.is_empty())
with assert_eq! to satisfy clippy::assert_is_empty.
@frantufro
frantufro merged commit dc85980 into main Nov 9, 2026
6 checks passed
@frantufro
frantufro deleted the update-deps-and-lints branch November 9, 2026 00:14
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.

1 participant