← Back to issue list

feat: add cargo-use plugin

View original Github issue

Metadata

Project
craft-parts
Number
#1062
Type
pull request
State
merged
Author
dariuszd21
Labels
Created
Updated
Closed

Current evaluation

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.

Suggested action:

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
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
#961 feat(plugins): cargo-package plugin craft-parts merged Merged the cargo-package plugin, enabling Rust crate packaging into a local directory-based registry. Approved by four reviewers, passed CI, and modified 14 files. Introduces a side effect of forcing offline Rust builds.
75%
#1067 feat: add export and backstage directories craft-parts merged Merged after approval by two reviewers and passing CI. Adds export and backstage directories for plugin use and updates the cargo-use plugin to utilize them.
71%