Rework cargo audit ignores
This commit is contained in:
		
				
					committed by
					
						
						mergify[bot]
					
				
			
			
				
	
			
			
			
						parent
						
							d3b0f87a49
						
					
				
				
					commit
					2301dcf973
				
			@@ -57,7 +57,18 @@ _ cargo +"$rust_nightly" clippy \
 | 
			
		||||
  -Zunstable-options --workspace --all-targets \
 | 
			
		||||
  -- --deny=warnings --allow=clippy::stable_sort_primitive
 | 
			
		||||
 | 
			
		||||
_ scripts/cargo-for-all-lock-files.sh +"$rust_stable" audit --ignore RUSTSEC-2020-0002 --ignore RUSTSEC-2020-0008
 | 
			
		||||
cargo_audit_ignores=(
 | 
			
		||||
  # failure is officially deprecated/unmaintained
 | 
			
		||||
  #
 | 
			
		||||
  # Blocked on multiple upstream crates removing their `failure` dependency.
 | 
			
		||||
  --ignore RUSTSEC-2020-0036
 | 
			
		||||
 | 
			
		||||
  # `net2` crate has been deprecated; use `socket2` instead
 | 
			
		||||
  #
 | 
			
		||||
  # Blocked on https://github.com/paritytech/jsonrpc/issues/575
 | 
			
		||||
  --ignore RUSTSEC-2020-0016
 | 
			
		||||
)
 | 
			
		||||
_ scripts/cargo-for-all-lock-files.sh +"$rust_stable" audit "${cargo_audit_ignores[@]}"
 | 
			
		||||
 | 
			
		||||
{
 | 
			
		||||
  cd programs/bpf
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user