Consider not specifying db-path
in configuration template
#612
Labels
enhancement
New feature or request
db-path
in configuration template
#612
Is your feature request related to a problem? Please describe.
I have a custom path for
CARGO_HOME
. Runningcargo deny init
defaults to including in the configuration the path to the database~/.cargo/advisory-db
. In my case, that creates an unnecessary~/.cargo
folder in my HOME directory.Describe the solution you'd like
I tested just commenting out the offending line and it seemed to default to my
CARGO_HOME
, exactly as I want.Describe alternatives you've considered
CARGO_HOME
environment variable at the time ofcargo deny init
would probably lead to stale configuration, as now.Additional context
Somewhat related: #302. This change would bring the default (aka, without deny.toml) behaviour to the deny.toml default template.
The text was updated successfully, but these errors were encountered: