How to disable advisory database download forever (also with rust audit)?

    Fetching advisory database from `https://github.com/RustSec/advisory-db.git`

i have net download issue with it .
always stuck my project things.
i searched for this problem. but seems no one have post yet .

You can stop cargo deny from downloading the advisory database by running it with the --offline or more specifically the -d/--disable-fetch CLI options. For cargo audit you should be able to avoid downloading the db with the -n/--no-fetch CLI option.

3 Likes

very helpful! and so in time reply! thank you!

1 Like

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.