Rust build cleanup Add Cargo.lock to .gitignore for rust/bssl-crypto and remove generated file Clean up cargo deny warnings and set reasonable starting point in deny.toml Change-Id: I0b925408ab6b7947b1b01282bac803feb769421a Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/57985 Reviewed-by: Nabil Wadih <nwadih@google.com> Reviewed-by: David Benjamin <davidben@google.com> Commit-Queue: Bob Beck <bbe@google.com>
diff --git a/.gitignore b/.gitignore index ac0ede8..3e22141 100644 --- a/.gitignore +++ b/.gitignore
@@ -8,6 +8,7 @@ doc/*.html doc/doc.css rust/Cargo.lock +rust/bssl-crypto/Cargo.lock rust/target util/bot/android_ndk
diff --git a/rust/bssl-crypto/Cargo.lock b/rust/bssl-crypto/Cargo.lock deleted file mode 100644 index ed7fe34..0000000 --- a/rust/bssl-crypto/Cargo.lock +++ /dev/null
@@ -1,14 +0,0 @@ -# This file is automatically @generated by Cargo. -# It is not intended for manual editing. -version = 3 - -[[package]] -name = "bssl-crypto" -version = "0.1.0" -dependencies = [ - "bssl-sys", -] - -[[package]] -name = "bssl-sys" -version = "0.1.0"
diff --git a/rust/bssl-crypto/deny.toml b/rust/bssl-crypto/deny.toml index d398485..e521047 100644 --- a/rust/bssl-crypto/deny.toml +++ b/rust/bssl-crypto/deny.toml
@@ -78,8 +78,6 @@ allow = [ "MIT", "Apache-2.0", - "Apache-2.0 WITH LLVM-exception", - "Unicode-DFS-2016", ] # List of explicitly disallowed licenses # See https://spdx.org/licenses/ for list of possible licenses @@ -88,7 +86,7 @@ #"Nokia", ] # Lint level for licenses considered copyleft -copyleft = "warn" +copyleft = "deny" # Blanket approval or denial for OSI-approved or FSF Free/Libre licenses # * both - The license will be approved if it is both OSI-approved *AND* FSF # * either - The license will be approved if it is either OSI-approved *OR* FSF @@ -152,7 +150,7 @@ # https://embarkstudios.github.io/cargo-deny/checks/bans/cfg.html [bans] # Lint level for when multiple versions of the same crate are detected -multiple-versions = "warn" +multiple-versions = "deny" # Lint level for when a crate version requirement is `*` wildcards = "allow" # The graph highlighting used when creating dotgraphs for crates