← Back to issue list

rust plugin: use toml to dump the config

View original Github issue

Metadata

Project
snapcraft
Number
#2611
Type
pull request
State
merged
Author
sergiusens
Labels
Created
Updated
Closed

Current evaluation

Merged update to the Rust plugin using the toml library for config dumping. Approved, passed CI, and modified three files. A trailing comma in the toml requirement was noted but did not block the merge.

Suggested action:

No scores available.

Issue body

Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com> - [ ] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)? - [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [ ] Have you successfully run `./runtests.sh static`? - [ ] Have you successfully run `./runtests.sh tests/unit`? -----

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Merged update to the Rust plugin using the toml library for config dumping. Approved, passed CI, and modified three files. A trailing comma in the toml requirement was noted but did not block the merge.
qwen3.6-35b-a3b-mtp-q6 Merged. Refactored the Rust plugin to use the toml library for configuration serialization. A trailing comma in the toml==0.10.0 dependency requirement was flagged during review, but the change was ultimately merged.
qwen3.6-35b-a3b-mtp-q6 Merged. Updated the Rust plugin to dump configuration via TOML. A trailing comma in the toml dependency specification caused a build failure, which was corrected before final merge.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#2434 rust plugin: refactor to use the latest rustup snapcraft merged Merged Rust plugin refactor for latest rustup. Removed deprecated flags, added command qualifiers, established shared rustup/cargo directory, and standardized config. Approved and passed CI.
74%
#2431 rust plugin: update to use latest rustup command options snapcraft merged Merged update to the Rust plugin replacing deprecated rustup command options with current equivalents. Approved by a reviewer, passed CI, modified five files, and maintained 94.5% test coverage.
74%
#560 rust_plugin: multiple fixes craft-parts merged Merged Rust plugin fixes resolving issue #559. Changes remove unnecessary rust_channel override typing checks and improve compiler plugin identification and removal. Approved by reviewers and merged despite an unrelated CI pylint failure.
71%