EmbarkStudios / cargo-deny

❌ Cargo plugin for linting your dependencies 🦀
http://embark.rs
Apache License 2.0
1.62k stars 80 forks source link

CARGO_HOME is not used when storing advisory-db in 0.14.23 #661

Closed Nukesor closed 2 months ago

Nukesor commented 2 months ago

Describe the bug

Despite $CARGO_HOME being set, cargo-deny writes into ~/.cargo.

This is a regression, as this was fixed back in 0.8.2. See #302

To reproduce

rm -r ~/.cargo/advisory-db
export CARGO_HOME=~/.local/share/cargo
cd one/of/your/projects
cargo deny

cargo-deny version

cargo-deny 0.14.23

What OS were you running cargo-deny on?

Linux

Additional context

No response

Nukesor commented 2 months ago

Nevermind. Seems to be some environment shenannigans on my end.