Skip to content

fix(deps): update rust crate hf-hub to v1 - #25

Open
renovate-appwrite[bot] wants to merge 1 commit into
masterfrom
renovate/hf-hub-1.x
Open

renovate-appwrite[bot] wants to merge 1 commit into
masterfrom
renovate/hf-hub-1.x

Conversation

@renovate-appwrite

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change
hf-hub dependencies major 0.5.0 → 1.0.0

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • Only on Monday (* * * * 1)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate CLI.

@appwrite

appwrite Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

Code review

Commit Status Tier Verdict Details
84b1bbc Reviewed Reviewed 🟡 B · Needs changes before merging 🛑 Changes requested View review

The upgrade breaks the existing hf-hub API usage, preventing the project from compiling.

Upgrades the direct hf-hub dependency from 0.5.0 to 1.0.0 and updates Cargo.lock for the new dependency graph. The lockfile retains hf-hub 0.5.0 as a separate transitive dependency of fastembed.

Findings (1)
Finding Where
🟠 hf-hub 1.0 removes the API this code imports Cargo.toml:10
Fix with agent prompt
### Issue 1
Cargo.toml:10
**hf-hub 1.0 removes the API this code imports**

`src/embedding.rs:4,598` still imports and uses `hf_hub::api::sync::ApiBuilder`, but hf-hub 1.0 no longer exposes the `api` module. Its replacement blocking API is `HFClientSync`, and it is gated behind the `blocking` feature, which this dependency declaration does not enable, so the crate will not compile with this bump.

---

For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.
Walkthrough (2)
File Change
Cargo.toml Bumps the direct hf-hub dependency to 1.0.0.
Cargo.lock Adds hf-hub 1.0.0 and its transitive dependencies while retaining 0.5.0 for fastembed.

Reviewed 84b1bbc

Tip

Comment @appwrite review to re-run, or mention @appwrite with a question.

@appwrite appwrite Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Tier B · 1 blocking finding to address. Summary

Comment thread Cargo.toml
fastembed = "5.15.0"
futures = "0.3.32"
hf-hub = "0.5.0"
hf-hub = "1.0.0"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hf-hub 1.0 removes the API this code imports

src/embedding.rs:4,598 still imports and uses hf_hub::api::sync::ApiBuilder, but hf-hub 1.0 no longer exposes the api module. Its replacement blocking API is HFClientSync, and it is gated behind the blocking feature, which this dependency declaration does not enable, so the crate will not compile with this bump.

Prompt To Fix With AI
This is a comment left during a code review.
Path: Cargo.toml
Line: 10

Comment:
**hf-hub 1.0 removes the API this code imports**

`src/embedding.rs:4,598` still imports and uses `hf_hub::api::sync::ApiBuilder`, but hf-hub 1.0 no longer exposes the `api` module. Its replacement blocking API is `HFClientSync`, and it is gated behind the `blocking` feature, which this dependency declaration does not enable, so the crate will not compile with this bump.

---

For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.

🟠 Major · bug · Reply if this doesn't apply.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants