feat: add Rust ecosystem from GitHub Advisory Database (#174)

This commit is contained in:
afdesk 2022-08-25 12:49:16 +06:00 committed by GitHub
parent ff3b213e64
commit ea064dac6a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,8 +29,9 @@ var (
Pip SecurityAdvisoryEcosystem = "PIP" Pip SecurityAdvisoryEcosystem = "PIP"
Rubygems SecurityAdvisoryEcosystem = "RUBYGEMS" Rubygems SecurityAdvisoryEcosystem = "RUBYGEMS"
Go SecurityAdvisoryEcosystem = "GO" Go SecurityAdvisoryEcosystem = "GO"
Rust SecurityAdvisoryEcosystem = "RUST"
Erlang SecurityAdvisoryEcosystem = "ERLANG" Erlang SecurityAdvisoryEcosystem = "ERLANG"
Ecosystems = []SecurityAdvisoryEcosystem{Composer, Maven, Npm, Nuget, Pip, Rubygems, Go, Erlang} Ecosystems = []SecurityAdvisoryEcosystem{Composer, Maven, Npm, Nuget, Pip, Rubygems, Go, Erlang, Rust}
wait = func(i int) time.Duration { wait = func(i int) time.Duration {
sleep := math.Pow(float64(i), 2) + float64(utils.RandInt()%10) sleep := math.Pow(float64(i), 2) + float64(utils.RandInt()%10)