Skip to content

Commit

Permalink
fix cargo deny
Browse files Browse the repository at this point in the history
  • Loading branch information
kayhhh committed Dec 30, 2024
1 parent 37ad27e commit 2c7211e
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 5 deletions.
26 changes: 21 additions & 5 deletions deny.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ targets = [
]

[licenses]
version = 2
allow = [
"Apache-2.0 WITH LLVM-exception",
"Apache-2.0",
Expand All @@ -24,19 +23,36 @@ allow = [
"Unlicense",
"Zlib",
]
version = 2

[[licenses.clarify]]
crate = "ring"
# SPDX considers OpenSSL to encompass both the OpenSSL and SSLeay licenses
# https://spdx.org/licenses/OpenSSL.html
# ISC - Both BoringSSL and ring use this for their new files
# MIT - "Files in third_party/ have their own licenses, as described therein. The MIT
# license, for third_party/fiat, which, unlike other third_party directories, is
# compiled into non-test libraries, is included below."
# OpenSSL - Obviously
expression = "ISC AND MIT AND OpenSSL"
license-files = [{ path = "LICENSE", hash = 0xbd0eed23 }]

[[licenses.exceptions]]
allow = ["OpenSSL"]
crate = "ring"

[bans]
multiple-versions = "warn"
deny = [
{ name = "bevy", deny-multiple-versions = true },
{ name = "tokio", deny-multiple-versions = true },
]
multiple-versions = "warn"

[sources]
unknown-registry = "deny"
unknown-git = "deny"
allow-registry = ["https://github.com/rust-lang/crates.io-index"]
allow-git = [
"https://github.com/unavi-xyz/dwn",
"https://github.com/vincent-herlemont/native_db",
]
allow-registry = ["https://github.com/rust-lang/crates.io-index"]
unknown-git = "deny"
unknown-registry = "deny"
1 change: 1 addition & 0 deletions taplo.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
[formatting]
allowed_blank_lines = 1
reorder_arrays = true
reorder_keys = true

0 comments on commit 2c7211e

Please sign in to comment.