-
Notifications
You must be signed in to change notification settings - Fork 131
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow setting default install_crate to false #1147
Comments
@FlixCoder trying to understand the ask here. [config]
default_install_crate = false when will installation happen? only if rustup/crate values are defined in the install_crate param or even than to disable it? |
Yeah I had imagined, that you would re-enable it through setting some value in My concern is only, that it would be possible to disable automatic installation without specifying So if that is somehow possible, I honestly don't really mind how it works. |
so maybe not disable default but actual disable. |
That would work, yes. But I assume it would also be useful to be able to reenable it for some task later. |
done and released |
Feature Description
For disabling workspace execution of all tasks there is
default_to_workspace = false
in the[config]
section. However, there is no way to default to NOT installing crates likedefault_install_crate = false
or something, as far as I can see. So I would like to have such a config option to disable it by default and only activate it when it makes sense.Describe The Solution You'd Like
This will set the default value for the install_crate variable for all tasks. Not sure if it makes semantic sense. Maybe it would also be something like
default_disable_install = true
, so that one cannot dodefault_install_crate = { rustup_component_name = "whatever" }
.The text was updated successfully, but these errors were encountered: