devcontainers / devcontainers/features

Rust: Components field ignores intention of profile field

Open
#1,716 0 comments 0 reactions 1 assignee Claimed by @V-Subhankar-infy View on GitHub
Dominant language
Shell
Stars
1.5k
Forks
621
Avg merge
2d 11h
Merged PRs (30d)
4

Description

I've set the the `profile` option to minimal, as I only want cargo, rustc, and rust-std installed. I then have to set `components` to `"cargo,rustc,rust-std"`, as otherwise I still end up with `clippy`, `rust-fmt` and `rust-analyzer` installed. Setting `components` to `""` results in the same behavior, and setting it to `null` causes an error.

It would be nice to allow components to be either `""` or `null`, to signal that the `profile` is enough and I don't want any additional components installed.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.