feat: add cargo-use plugin
Metadata
Current evaluation
Merged PR #1062 via commit 6250df05, adding the cargo-use plugin to populate a local Cargo registry for the rust plugin; shipped in 2.8.0.
Resolution: closed resolved
Reason: The feature was merged as commit 6250df05. The changelog also confirms cargo-use and its local Cargo registry support shipped in release 2.8.0.
Evaluated by: mr-cal-bot
No scores available.
Issue body
- [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [ ] Have you added an entry to the changelog (`docs/reference/changelog.rst`)?
Add `cargo-use` plugin that dumps content of Rust project to the local registry, that is later accessible to the `rust` plugin.
Add `pyfakefs` to `dev` dependencies, as it is used during `cargo-registry` plugin unit tests.
Add `tomli` for TOML support on Python version below 3.11.
(CRAFT-4407)
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #1062 via commit 6250df05, adding the cargo-use plugin to populate a local Cargo registry for the rust plugin; shipped in 2.8.0. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #1062 (6250df05), adding cargo-use to publish Rust project content to a local registry for use by the rust plugin. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged the cargo-use plugin, which dumps Rust project content to a local registry for the rust plugin. Added pyfakefs and tomli dependencies. Approved by two reviewers and passed CI checks before merging. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged the cargo-use plugin, enabling Rust project content dumping to a local registry for the rust plugin. Added pyfakefs for testing and tomli for Python <3.11 TOML support. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1067 feat: add export and backstage directories | craft-parts | merged | Merged #1067 as commit 25c0c66e, adding plugin-facing export and backstage directories and updating cargo-use to use them. | |
| #961 feat(plugins): cargo-package plugin | craft-parts | merged | Merged #961, adding a cargo-package plugin that packages Rust crates into a local directory-based registry and makes Rust builds offline. | |
| #2005 feat: add "cargo" to deb build dependencies for charm plugin | charmcraft | closed | PR #2005 was closed unmerged as stale after a request for Poetry-style validation protecting user-installed Rust toolchains; no resolving commit was merged. | |
| #144 feat: add cargo inspectors | fetch-service | merged | Merged PR #144 added CargoIndexInspector for registry metadata and CargoCrateInspector for downloaded crate metadata, landing as commit 4ce0c5d. |