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>
fips-20230428
Bob Beck 2 years ago committed by Boringssl LUCI CQ
parent be79283dd8
commit 6f3e8229bb
  1. 1
      .gitignore
  2. 14
      rust/bssl-crypto/Cargo.lock
  3. 6
      rust/bssl-crypto/deny.toml

1
.gitignore vendored

@ -8,6 +8,7 @@ ssl/test/runner/runner
doc/*.html
doc/doc.css
rust/Cargo.lock
rust/bssl-crypto/Cargo.lock
rust/target
util/bot/android_ndk

@ -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"

@ -78,8 +78,6 @@ unlicensed = "deny"
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 @@ deny = [
#"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 @@ registries = [
# 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

Loading…
Cancel
Save