Repository navigation
fix(deps): update rust crate hf-hub to v1 - #25
renovate-appwrite[bot] wants to merge 1 commit into
Conversation
Code review
Upgrades the direct 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)
Reviewed Tip Comment |
| fastembed = "5.15.0" | ||
| futures = "0.3.32" | ||
| hf-hub = "0.5.0" | ||
| hf-hub = "1.0.0" |
There was a problem hiding this 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.
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.

This PR contains the following updates:
0.5.0→1.0.0Configuration
📅 Schedule: (UTC)
* * * * 1)🚦 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.
This PR has been generated by Mend Renovate CLI.